-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature support job schedule pause status (#42)
* Adding new argument schedule_pause_status to the Workflow object * Updating docs * Updating tests
- Loading branch information
1 parent
21ad028
commit 5a10093
Showing
9 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ wf = Workflow( # (1)! | |
# Optional parameters below | ||
schedule_quartz_expression="0 0/20 0 ? * * *", # (4)! | ||
timezone="UTC", # (5)! | ||
schedule_pause_status="PAUSED", # (15)! | ||
default_task_settings=TaskSettings( # (6)! | ||
email_notifications=EmailNotifications( | ||
on_start=["[email protected]"], | ||
|
@@ -65,6 +66,7 @@ def task_function(*, test="var"): | |
12. Suffix for the name of the workflow | ||
13. Define the common task parameters that can be used in all the tasks | ||
14. Define a workflow task and associate it to the workflow | ||
15. Define the schedule pause status. It is defaulted to "UNPAUSED" | ||
|
||
### Clusters | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters