-
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.
propodate workflow tags to cluster tags (#160)
- Loading branch information
1 parent
63011dc
commit 4a4beb6
Showing
4 changed files
with
46 additions
and
7 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 |
---|---|---|
|
@@ -243,9 +243,16 @@ def custom_python_task_push(): | |
pass | ||
|
||
|
||
job_cluster = Cluster( | ||
name="sample_job_cluster", | ||
node_type_id="m6gd.xlarge", | ||
spark_version="13.3.x-scala2.12", | ||
num_workers=1, | ||
) | ||
|
||
wf2 = Workflow( | ||
"wf-test-2", | ||
default_cluster=Cluster.from_existing_cluster("existing_cluster_id"), | ||
default_cluster=job_cluster, | ||
schedule_continuous=JobsContinuous(pause_status="PAUSED"), | ||
permissions=WorkflowPermissions( | ||
owner=User("[email protected]"), | ||
|
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