AssetExecutionContext
API simplification
#20974
jamiedemaria
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are undertaking an effort to simplify the API of the
AssetExecutionContext
. This will involve deprecating some methods onAssetExecutionContext
, but will result in acontext
that is easier to navigate and more intuitive to use. All methods that are deprecated onAssetExecutionContext
will have alternatives. This is an ongoing effort and this discussion will be updated as methods are marked deprecated.Note that even though they are marked deprecated, these methods will not be removed from
AssetExecutionContext
until a future version of Dagster. You can continue to access these methods, but will receive deprecation warnings.If you want to continue to use the deprecated methods without getting deprecation warnings, you can modify the type annotation of the
context
passed to your assets toOpExecutionContext
Beta Was this translation helpful? Give feedback.
All reactions