-
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
[enhancement]: Add pull_steps to the base Deployment model #9233
[enhancement]: Add pull_steps to the base Deployment model #9233
Conversation
✅ Deploy Preview for prefect-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
My only hesitation here is that |
Indeed that makes sense that
Am I missing something related to the change you are making with |
To be totally honest, we wanted to entirely avoid a Python SDK for projects so I'm not sure the best way to proceed here - in the same way that you run testing suites from a CLI, not from within one of the test files, it really complicates things to expose ways of deploying projects from within a file (or from within a REPL, which people often try but it fails because there's no natural filesystem to base things on). |
I can see where you come from, and keeping the API level small help a lot Today, with Prefect, we had the choice between using Prefect command line,Rest API, or Python Api. If you create a new paradigm, it is essential that we can still have access at all these levels Looking more at Project, It needs more capabilities today to be helpful.
Happy to have a chat about how we are doing that. |
This pull request is stale because it has been open 60 days with no activity. To keep this pull request open remove stale label or comment. |
Returning to this -- I still think #9233 (comment) articulates why we can't merge the PR as-is, but we are actively experimenting with streamlined deployment UX (including Python-first deployments) that will take this feedback into account! |
This pull request is stale because it has been open 14 days with no activity. To keep this pull request open remove stale label or comment. |
Thank you, @cicdw for the update. Do you have an issue we can follow regarding your current work on that side? |
Absolutely @davzucky - this PR is the first major milestone in that Python-first direction: #10534 It probably isn't obvious from the PR that it's related, but we are filling in the incremental gaps that lead up to a full worker / work pool setup and hardening the Python SDK for deployments as we go:
We are targeting end of September for completion of the core components of this work (so roughly one month from now) |
This pull request is stale because it has been open 14 days with no activity. To keep this pull request open remove stale label or comment. |
This pull request is stale because it has been open 14 days with no activity. To keep this pull request open remove stale label or comment. |
This pull request was closed because it has been stale for 14 days with no activity. If this pull request is important or you have more to add feel free to re-open it. |
Following an issue related to remote storage in Kubernetes @cicdw pointed me to the new concept of
project
. Looking at the code project introduces a new concept to the deployment model, which ispull_steps
. This exists on the ORM model but is not exposed to theprefect.Deployment
model. This change a thepull_steps
to the base mdel.Another issue about that topic is open #9220
Example
This will allow to create deployment using
build_from_flow
Checklist
<link to issue>
"fix
,feature
,enhancement
,docs
.