You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
such types from mypy_boto3_* are extensively used in dagster-aws (mostly in Pipes).
Currently Dagster doesn't allow using forward references in dagster.Config or dagster.ConfigurableResource. It's a pity because many libraries provide these kind of type annotations (especially in TypedDict form which I'm not sure if Dagster supports at all) and the ability to use them would enable easier and more correct configuration in Dagster.
Ideas of implementation
No response
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
The text was updated successfully, but these errors were encountered:
What's the use case?
Sometimes Python annotations can't be specified as objects existing at runtime.
This includes several cases:
sometimes these types may be provided by
.pyi
files (it is not possible to import them at runtime at all), for example:such types from
mypy_boto3_*
are extensively used indagster-aws
(mostly in Pipes).Currently Dagster doesn't allow using forward references in
dagster.Config
ordagster.ConfigurableResource
. It's a pity because many libraries provide these kind of type annotations (especially inTypedDict
form which I'm not sure if Dagster supports at all) and the ability to use them would enable easier and more correct configuration in Dagster.Ideas of implementation
No response
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
The text was updated successfully, but these errors were encountered: