-
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
add partition_keys property to context #17444
Conversation
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
python_modules/dagster/dagster/_core/execution/context/compute.py
Outdated
Show resolved
Hide resolved
python_modules/dagster/dagster/_core/execution/context/compute.py
Outdated
Show resolved
Hide resolved
88989cc
to
109c4c7
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.
It's worth making sure this gets test coverage (can potentially add it to an existing test for partition_time_window
)
after that and a couple small comments I left, LGTM!
python_modules/dagster/dagster/_core/execution/context/compute.py
Outdated
Show resolved
Hide resolved
python_modules/dagster/dagster/_core/execution/context/compute.py
Outdated
Show resolved
Hide resolved
109c4c7
to
4469d08
Compare
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit 4469d08. |
Deploy preview for dagit-storybook ready! ✅ Preview Built with commit 4469d08. |
Summary & Motivation
context.partition_keys
is mentioned in the backfill docs, but doesn't exist onOpExecutionContext
. This adds the methodHow I Tested These Changes
is there a specific file where the partition methods on the context are tested? otherwise I'll put something in
test_partitioned_assets.py