generated from ran-isenberg/aws-lambda-handler-cookbook
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: add python 3.13 support and deprecate 3.8 (#116)
--------- Co-authored-by: Ran Isenberg <[email protected]>
- Loading branch information
1 parent
4bd9052
commit 550bd29
Showing
5 changed files
with
482 additions
and
498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
import sys | ||
from typing import TypeVar | ||
from typing import Annotated, TypeVar | ||
|
||
from pydantic import BaseModel | ||
|
||
Model = TypeVar('Model', bound=BaseModel) | ||
|
||
|
||
if sys.version_info >= (3, 9): | ||
from typing import Annotated | ||
else: | ||
from typing_extensions import Annotated | ||
|
||
__all__ = ['Model', 'BaseModel', 'Annotated'] |
Oops, something went wrong.