-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 is_schedule_active
to client Deployment
class
#7430
Conversation
✅ Deploy Preview for prefect-orion ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
is_schedule_active
to client Deployment
class
@EmilRex looks like this requires additional changes to work. |
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.
We'll also want test coverage for the behavior of None
, True
, and False
.
@EmilRex are you going to be able to finish this? Do you want help from someone on the OSS team? |
@madkinsz any other thoughts? |
…erm-testing * 'main' of https://github.com/prefecthq/prefect: (77 commits) Update roles and permissions in documentation (PrefectHQ#8263) Add Prefect Cloud Quickstart tutorial (PrefectHQ#8227) Remove needless log Update comment for consistency Reorder migrations for clarity Refactor cancellation cleanup service Uses canonical `CANCELLING` states for run cancellations (PrefectHQ#8245) Add cancellation cleanup service (PrefectHQ#8128) Improve engine shutdown handling of SIGTERM (PrefectHQ#8127) Create a `CANCELLING` state type (PrefectHQ#7794) Update KubernetesJob options (PrefectHQ#8261) Small work pools UI updates (PrefectHQ#8257) Removes migration logic (PrefectHQ#8255) Consolidate multi-arch docker builds (PrefectHQ#7902) Include nested `pydantic.BaseModel` secret fields in blocks' schema (PrefectHQ#8246) Improve contributing documentation with venv instructions (PrefectHQ#8247) Update Python tests to use a single test matrix for both databases (PrefectHQ#8171) Adds migration logic for work pools (PrefectHQ#8214) Add `project_urls` to `setup.py` (PrefectHQ#8224) Add `is_schedule_active` to client `Deployment` class (PrefectHQ#7430) ...
Co-authored-by: Peyton <[email protected]> Co-authored-by: peytonrunyan <[email protected]>
Co-authored-by: Peyton <[email protected]> Co-authored-by: peytonrunyan <[email protected]>
Co-authored-by: Peyton <[email protected]> Co-authored-by: peytonrunyan <[email protected]>
Co-authored-by: Peyton <[email protected]> Co-authored-by: peytonrunyan <[email protected]>
Co-authored-by: Peyton <[email protected]> Co-authored-by: peytonrunyan <[email protected]>
Co-authored-by: Peyton <[email protected]> Co-authored-by: peytonrunyan <[email protected]>
This PR exposes the
is_schedule_active
option on theDeployment
class. Currently, the default behavior is to enable the schedule, but users may want to apply their deployments and not schedule runs.Example
Checklist
<link to issue>
"fix
,feature
,enhancement