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
Deprecate Deployment
class and deployment build
and apply
commands
#12283
Conversation
✅ Deploy Preview for prefect-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Wow I didn't really realize these would be deprecated as well. Would it make sense to add a blurb in the description on the motivation? I feel like this will be a frequently viewed PR 👀 and it could be useful for anyone wondering about it.
" Refer to the upgrade guide for more information" | ||
), | ||
): | ||
Deployment(name="foo") |
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.
🤯
Co-authored-by: Serina Grill <42048900+serinamarie@users.noreply.github.com>
Co-authored-by: Serina Grill <42048900+serinamarie@users.noreply.github.com>
We'll have an explanation in the release notes tomorrow that will cover the motivation behind these deprecations. I updated the description of this PR slightly, but I can add more detail tomorrow while working on a release notes highlight. |
Awesome! |
Adds a deprecation warning to the
Deployment
class along with the the deploymentbuild
andapply
commands in lieu offlow.deploy
andprefect deploy
. Adds some logic to enable deprecation of specific commands in addition to full command groups.Example
Checklist
<link to issue>
"maintenance
,fix
,feature
,enhancement
,docs
.For documentation changes:
netlify.toml
for files that are removed or renamed.For new functions or classes in the Python SDK:
mkdocs.yml
navigation.