Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6ec8f64

Browse files
committedMay 10, 2023
docs: mypy
1 parent b92614a commit 6ec8f64

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎examples/batch_processing/src/context_manager_access.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
from __future__ import annotations
22

33
import json
4-
from typing import List, Literal, Tuple
4+
from typing import List, Tuple
5+
6+
from typing_extensions import Literal
57

68
from aws_lambda_powertools import Logger, Tracer
79
from aws_lambda_powertools.utilities.batch import BatchProcessor, EventType

‎examples/batch_processing/src/pydantic_dynamodb.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import json
2-
from typing import Dict, Literal, Optional
2+
from typing import Dict, Optional
3+
4+
from typing_extensions import Literal
35

46
from aws_lambda_powertools import Logger, Tracer
57
from aws_lambda_powertools.utilities.batch import (

0 commit comments

Comments
 (0)
Please sign in to comment.