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

add partition_keys property to context #17444

Merged
merged 3 commits into from
Nov 6, 2023
Merged

Conversation

jamiedemaria
Copy link
Contributor

@jamiedemaria jamiedemaria commented Oct 27, 2023

Summary & Motivation

context.partition_keys is mentioned in the backfill docs, but doesn't exist on OpExecutionContext. This adds the method

How 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

@jamiedemaria
Copy link
Contributor Author

jamiedemaria commented Oct 27, 2023

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@jamiedemaria jamiedemaria marked this pull request as ready for review October 27, 2023 16:18
@jamiedemaria jamiedemaria requested a review from sryza October 27, 2023 20:23
Copy link
Contributor

@sryza sryza left a 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!

Copy link

github-actions bot commented Nov 3, 2023

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-b7p5savo8-elementl.vercel.app
https://jamie-partition-keys.core-storybook.dagster-docs.io

Built with commit 4469d08.
This pull request is being automatically deployed with vercel-action

Copy link

github-actions bot commented Nov 3, 2023

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-rkhq6ybdk-elementl.vercel.app
https://jamie-partition-keys.components-storybook.dagster-docs.io

Built with commit 4469d08.
This pull request is being automatically deployed with vercel-action

@jamiedemaria jamiedemaria merged commit 5e852ff into master Nov 6, 2023
3 checks passed
@jamiedemaria jamiedemaria deleted the jamie/partition_keys branch November 6, 2023 14:43
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