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 identifier_label property to relevant environments #1718

Merged
merged 7 commits into from
Nov 9, 2019

Conversation

joshmeek
Copy link

@joshmeek joshmeek commented Nov 8, 2019

Thanks for contributing to Prefect!

Please describe your work and make sure your PR:

  • adds new tests (if appropriate)
  • updates CHANGELOG.md (if appropriate)
  • updates docstrings for any new functions or function arguments, including docs/outline.toml for API reference docs (if appropriate)

Note that your PR will not be reviewed unless all three boxes are checked.

What does this PR change?

Adds an identifier_label property to the Dask Kubernetes Environment and Kubernetes Job Environment.

Why is this PR important?

The identifier_label was not being recreated on each run due to the way environments are stored on the Flow now

@codecov
Copy link

codecov bot commented Nov 8, 2019

Codecov Report

Merging #1718 into master will increase coverage by 0.02%.
The diff coverage is 100%.

cicdw
cicdw previously approved these changes Nov 8, 2019
assert environment.identifier_label
assert new.identifier_label

assert environment.identifier_label != new.identifier_label
Copy link
Member

Choose a reason for hiding this comment

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

💯

@cicdw cicdw merged commit 644c2c0 into master Nov 9, 2019
@cicdw cicdw deleted the dk8s_identifier_label branch November 9, 2019 04:13
zanieb added a commit that referenced this pull request May 12, 2022
Add `PartialModel` utility and use for `FlowRunContext` passing
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