yellowdog-python-examples 8.1.0__tar.gz → 8.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {yellowdog_python_examples-8.1.0/yellowdog_python_examples.egg-info → yellowdog_python_examples-8.1.2}/PKG-INFO +2 -2
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/README.md +1 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/requirements.txt +1 -1
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/tests/test_entrypoints.py +2 -0
- yellowdog_python_examples-8.1.2/yellowdog_cli/__init__.py +1 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/cancel.py +1 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/finish.py +4 -2
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/printing.py +2 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2/yellowdog_python_examples.egg-info}/PKG-INFO +2 -2
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_python_examples.egg-info/requires.txt +1 -1
- yellowdog_python_examples-8.1.0/yellowdog_cli/__init__.py +0 -1
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/LICENSE +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/PYPI_README.md +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/pyproject.toml +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/setup.cfg +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/tests/test_create_remove.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/tests/test_demos.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/tests/test_dryruns.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/tests/test_gui.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/tests/test_list.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/tests/test_objects.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/tests/test_variable_processing.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/abort.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/admin.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/boost.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/cloudwizard.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/compare.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/create.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/delete.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/download.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/follow.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/format_json.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/hold.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/instantiate.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/jsonnet2json.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/list.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/provision.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/remove.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/resize.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/show.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/shutdown.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/start.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/submit.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/terminate.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/upload.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/__init__.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/args.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/check_imports.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/cloudwizard_aws.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/cloudwizard_aws_types.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/cloudwizard_azure.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/cloudwizard_common.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/cloudwizard_gcp.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/compact_json.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/config_types.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/csv_data.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/entity_utils.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/follow_utils.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/interactive.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/items.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/load_config.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/load_resources.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/misc_utils.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/property_names.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/provision_utils.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/rich_console_input_fixed.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/settings.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/start_hold_common.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/submit_utils.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/type_check.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/upload_utils.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/validate_properties.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/variables.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/wrapper.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/ydid_utils.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/version.py +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_python_examples.egg-info/SOURCES.txt +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_python_examples.egg-info/dependency_links.txt +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_python_examples.egg-info/entry_points.txt +0 -0
- {yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_python_examples.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: yellowdog-python-examples
|
|
3
|
-
Version: 8.1.
|
|
3
|
+
Version: 8.1.2
|
|
4
4
|
Summary: Python CLI commands using the YellowDog Python SDK
|
|
5
5
|
Author-email: YellowDog Limited <support@yellowdog.co>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -26,7 +26,7 @@ Requires-Dist: requests
|
|
|
26
26
|
Requires-Dist: rich==13.9.4
|
|
27
27
|
Requires-Dist: tabulate>=0.9.0
|
|
28
28
|
Requires-Dist: toml
|
|
29
|
-
Requires-Dist: yellowdog-sdk>=11.
|
|
29
|
+
Requires-Dist: yellowdog-sdk>=11.5.0
|
|
30
30
|
Provides-Extra: jsonnet
|
|
31
31
|
Requires-Dist: jsonnet; extra == "jsonnet"
|
|
32
32
|
Provides-Extra: cloudwizard
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "8.1.2"
|
|
@@ -141,6 +141,7 @@ def _cancel_work_requirements_by_name_or_id(names_or_ids: List[str]):
|
|
|
141
141
|
if work_requirement_summary.status not in [
|
|
142
142
|
WorkRequirementStatus.RUNNING,
|
|
143
143
|
WorkRequirementStatus.HELD,
|
|
144
|
+
WorkRequirementStatus.FINISHING,
|
|
144
145
|
]:
|
|
145
146
|
print_warning(
|
|
146
147
|
f"Work Requirement '{name_or_id}' is not in a valid state"
|
|
@@ -44,6 +44,7 @@ def main():
|
|
|
44
44
|
WorkRequirementStatus.COMPLETED,
|
|
45
45
|
WorkRequirementStatus.CANCELLED,
|
|
46
46
|
WorkRequirementStatus.FAILED,
|
|
47
|
+
WorkRequirementStatus.CANCELLING,
|
|
47
48
|
],
|
|
48
49
|
)
|
|
49
50
|
)
|
|
@@ -61,7 +62,7 @@ def main():
|
|
|
61
62
|
f"Finish {len(selected_work_requirement_summaries)} " f"Work Requirement(s)?"
|
|
62
63
|
):
|
|
63
64
|
for work_summary in selected_work_requirement_summaries:
|
|
64
|
-
if work_summary.status != WorkRequirementStatus.
|
|
65
|
+
if work_summary.status != WorkRequirementStatus.FINISHING:
|
|
65
66
|
try:
|
|
66
67
|
CLIENT.work_client.finish_work_requirement_by_id(work_summary.id)
|
|
67
68
|
work_requirement: WorkRequirement = (
|
|
@@ -121,10 +122,11 @@ def _finish_work_requirements_by_name_or_id(names_or_ids: List[str]):
|
|
|
121
122
|
|
|
122
123
|
if work_requirement_summary.status not in [
|
|
123
124
|
WorkRequirementStatus.RUNNING,
|
|
125
|
+
WorkRequirementStatus.HELD,
|
|
124
126
|
]:
|
|
125
127
|
print_warning(
|
|
126
128
|
f"Work Requirement '{name_or_id}' is not in a valid state"
|
|
127
|
-
f" ('{work_requirement_summary.status}')
|
|
129
|
+
f" ('{work_requirement_summary.status}') to be finished"
|
|
128
130
|
)
|
|
129
131
|
continue
|
|
130
132
|
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/printing.py
RENAMED
|
@@ -895,6 +895,7 @@ def permissions_table(
|
|
|
895
895
|
headers = [
|
|
896
896
|
"#",
|
|
897
897
|
"Name",
|
|
898
|
+
"Scope",
|
|
898
899
|
"Description",
|
|
899
900
|
"Includes",
|
|
900
901
|
]
|
|
@@ -905,6 +906,7 @@ def permissions_table(
|
|
|
905
906
|
[
|
|
906
907
|
index + 1,
|
|
907
908
|
permission.name,
|
|
909
|
+
permission.scope,
|
|
908
910
|
permission.title,
|
|
909
911
|
includes,
|
|
910
912
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: yellowdog-python-examples
|
|
3
|
-
Version: 8.1.
|
|
3
|
+
Version: 8.1.2
|
|
4
4
|
Summary: Python CLI commands using the YellowDog Python SDK
|
|
5
5
|
Author-email: YellowDog Limited <support@yellowdog.co>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -26,7 +26,7 @@ Requires-Dist: requests
|
|
|
26
26
|
Requires-Dist: rich==13.9.4
|
|
27
27
|
Requires-Dist: tabulate>=0.9.0
|
|
28
28
|
Requires-Dist: toml
|
|
29
|
-
Requires-Dist: yellowdog-sdk>=11.
|
|
29
|
+
Requires-Dist: yellowdog-sdk>=11.5.0
|
|
30
30
|
Provides-Extra: jsonnet
|
|
31
31
|
Requires-Dist: jsonnet; extra == "jsonnet"
|
|
32
32
|
Provides-Extra: cloudwizard
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "8.1.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/tests/test_create_remove.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/cloudwizard.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/compare.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/download.py
RENAMED
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/format_json.py
RENAMED
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/instantiate.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/jsonnet2json.py
RENAMED
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/provision.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/shutdown.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/terminate.py
RENAMED
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/__init__.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/args.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/csv_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/items.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/settings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/variables.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/utils/wrapper.py
RENAMED
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-8.1.0 → yellowdog_python_examples-8.1.2}/yellowdog_cli/version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|