-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[module-loaders] Use new loader code in checks loaders #26514
[module-loaders] Use new loader code in checks loaders #26514
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Deploy preview for dagster-docs ready! Preview available at https://dagster-docs-i902ewhyw-elementl.vercel.app Direct link to changed pages: |
46d0738
to
b5ea375
Compare
d6b7692
to
1e84402
Compare
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.
generally supportive, but some things seem suspicious -- curious about the current test coverage for adding a key prefix in the presence of AssetChecksDefinitions
python_modules/dagster/dagster/_core/definitions/load_assets_from_modules.py
Show resolved
Hide resolved
python_modules/dagster/dagster/_core/definitions/load_assets_from_modules.py
Show resolved
Hide resolved
python_modules/dagster/dagster/_core/definitions/load_assets_from_modules.py
Show resolved
Hide resolved
python_modules/dagster/dagster/_core/definitions/load_assets_from_modules.py
Show resolved
Hide resolved
python_modules/dagster/dagster/_core/definitions/load_assets_from_modules.py
Show resolved
Hide resolved
b5ea375
to
54dab1e
Compare
1e84402
to
aa8efe8
Compare
54dab1e
to
1efb94c
Compare
aa8efe8
to
0309dba
Compare
1efb94c
to
29c4c40
Compare
0309dba
to
5be4d04
Compare
29c4c40
to
84a8e05
Compare
5be4d04
to
292e31e
Compare
292e31e
into
dpeng817/delete_extra_source_assets
Make use of the new asset loading internal APIs under the hood on the checks loaders. This allows us to actually delete the old
prefix_assets
method, which was still in use here.A lot of the added code lines here are explicit coercion to "asset checks definitions" from assetsdefinitions after they have had attributes replaced. I wonder if this is actually necessary and can't be removed in another PR which handles that case holistically.
But now at least everything is using the same stuff under the hood, and we're able to remove this tangled mess of helper methods.