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

allow duplicate AssetDeps passed to deps if those AssetDeps are the same #16720

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

jamiedemaria
Copy link
Contributor

@jamiedemaria jamiedemaria commented Sep 22, 2023

Summary & Motivation

With the switch to using AssetDeps, if a user passes the same asset twice to deps, they now get an exception. Older versions of the code silently deduplicated the dependencies. This PR goes back to the previous behavior as long as the AssetDeps are the same (ie have the same partition mapping)

How I Tested These Changes

new unit test

@jamiedemaria
Copy link
Contributor Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@jamiedemaria jamiedemaria changed the title allow duplicate AssetDeps passed to deps if those AssetDeps are the same" allow duplicate AssetDeps passed to deps if those AssetDeps are the same Sep 22, 2023
@jamiedemaria jamiedemaria marked this pull request as ready for review September 22, 2023 16:20
@jamiedemaria jamiedemaria requested a review from yuhan September 22, 2023 16:20
@github-actions
Copy link

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-lk3xauyn9-elementl.vercel.app
https://jamie-asset-dep-fixes.components-storybook.dagster-docs.io

Built with commit 4543a2e.
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-i5ngcnswz-elementl.vercel.app
https://jamie-asset-dep-fixes.core-storybook.dagster-docs.io

Built with commit 4543a2e.
This pull request is being automatically deployed with vercel-action

@jamiedemaria jamiedemaria merged commit f71cf74 into master Sep 27, 2023
@jamiedemaria jamiedemaria deleted the jamie/asset-dep-fixes branch September 27, 2023 20:24
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.

2 participants