-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force use of typeddict from typingexentions, pin poetry in tests, simple disable python 3.8 #2185
Conversation
… usual python typeddict imports
✅ Deploy Preview for dlt-hub-docs canceled.
|
dlt/common/typing.py
Outdated
@@ -45,6 +45,11 @@ | |||
|
|||
from typing_extensions import is_typeddict as _is_typeddict | |||
|
|||
if sys.version_info >= (3, 12): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO it is safe to always import from typing_extensions. I do that ie. for Annotated. should we change this?
@@ -6,6 +6,8 @@ banned-modules = datetime = use dlt.common.pendulum | |||
decimal.Decimal = use dlt.common.Decimal | |||
open = use dlt.common.open | |||
pendulum = use dlt.common.pendulum | |||
typing.TypedDict = use dlt.common.typing.TypedDict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is cool!
pin poetry in tests to 1.8.5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
See attached ticket for description of what was fixed.