Skip to content
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

Materialize assets without running checks #16460

Merged

Conversation

johannkm
Copy link
Contributor

@johannkm johannkm commented Sep 12, 2023

Addendum to e6ed078.

Remove two places where we turned asset_check_selection from [] to None. This lets us pass asset_selection=[whatever] and asset_check_selection=[] to only materialize the assets and not run checks. asset_selection=[whatever] and asset_check_selection=None will do both.

This is somewhere that having a combined object might let us be more explicit instead of using these two values. But I think as long as we have a test cases for entrypoints we add, we'll catch if they get messed up

@johannkm
Copy link
Contributor Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@johannkm johannkm force-pushed the johann/09-12-Materialize_assets_without_running_checks branch from cef7310 to bc7f38d Compare September 12, 2023 19:45
@johannkm johannkm force-pushed the johann/09-12-Materialize_assets_without_running_checks branch from bc7f38d to 624bddd Compare September 12, 2023 19:54
@johannkm johannkm requested a review from schrockn September 13, 2023 15:35
Copy link
Member

@alangenfeld alangenfeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the None vs [] shit is always nasty but alternative solutions ive ever come up with are worse. Agree test coverage is critical here

graphql_context,
"asset_check_job",
asset_selection=[{"path": ["asset_1"]}],
asset_check_selection=[],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

existing None coverage is sufficient?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we test it in test_launch_subset_asset_and_included_check

@schrockn
Copy link
Member

I'll let @alangenfeld handle this one

@johannkm johannkm force-pushed the johann/09-12-Materialize_assets_without_running_checks branch from 624bddd to 4ccbc21 Compare September 18, 2023 15:30
@johannkm johannkm merged commit 5201864 into master Sep 18, 2023
@johannkm johannkm deleted the johann/09-12-Materialize_assets_without_running_checks branch September 18, 2023 15:31
@github-actions
Copy link

Deploy preview for dagster-university ready!

✅ Preview
https://dagster-university-719w7b3k4-elementl.vercel.app
https://johann-09-12-Materialize-assets-without-running-checks.dagster-university.dagster-docs.io

Built with commit 4ccbc21.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-i3jpj1arg-elementl.vercel.app
https://johann-09-12-Materialize-assets-without-running-checks.core-storybook.dagster-docs.io

Built with commit 4ccbc21.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-m8yaik7g4-elementl.vercel.app
https://johann-09-12-Materialize-assets-without-running-checks.components-storybook.dagster-docs.io

Built with commit 4ccbc21.
This pull request is being automatically deployed with vercel-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants