ctm-python-client 2.4.0__py3-none-any.whl → 2.4.1__py3-none-any.whl
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.
- aapi/bases.py +8 -5
- ctm_python_client/__init__.py +1 -1
- {ctm_python_client-2.4.0.dist-info → ctm_python_client-2.4.1.dist-info}/METADATA +1 -1
- {ctm_python_client-2.4.0.dist-info → ctm_python_client-2.4.1.dist-info}/RECORD +7 -7
- {ctm_python_client-2.4.0.dist-info → ctm_python_client-2.4.1.dist-info}/LICENSE +0 -0
- {ctm_python_client-2.4.0.dist-info → ctm_python_client-2.4.1.dist-info}/WHEEL +0 -0
- {ctm_python_client-2.4.0.dist-info → ctm_python_client-2.4.1.dist-info}/top_level.txt +0 -0
aapi/bases.py
CHANGED
|
@@ -66,9 +66,9 @@ class AAPIObject:
|
|
|
66
66
|
file_path: str = None, delete_afterwards: bool = True, open_in_browser: str = None) -> RunMonitor:
|
|
67
67
|
# Import circular dependency
|
|
68
68
|
from ctm_python_client.core.workflow import Workflow, WorkflowDefaults
|
|
69
|
-
from aapi import
|
|
69
|
+
from aapi import Folder
|
|
70
70
|
|
|
71
|
-
if
|
|
71
|
+
if (hasattr(self, '_type') and 'Job' in self._type) or (hasattr(self, 'job_list') and self.job_list is not None and len(self.job_list) > 0):
|
|
72
72
|
try:
|
|
73
73
|
on_demand_workflow = Workflow(
|
|
74
74
|
environment,
|
|
@@ -92,9 +92,12 @@ class AAPIObject:
|
|
|
92
92
|
open_in_browser=open_in_browser
|
|
93
93
|
)
|
|
94
94
|
except Exception as e:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
if e.body:
|
|
96
|
+
errors = [err.get('message', '') + ' ' + err.get('item', '')
|
|
97
|
+
for err in json.loads(e.body)['errors']]
|
|
98
|
+
raise RuntimeError(f"AAPI request failed: {', '.join(errors)}")
|
|
99
|
+
else:
|
|
100
|
+
raise e
|
|
98
101
|
finally:
|
|
99
102
|
on_demand_workflow.clear_all()
|
|
100
103
|
else:
|
ctm_python_client/__init__.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = '2.4.
|
|
1
|
+
__version__ = '2.4.1'
|
|
2
2
|
__author__ = 'BMC Software'
|
|
@@ -3,7 +3,7 @@ aapi/action.py,sha256=te1lr64tU7854Oy4lUjQgh1EIlZzO82ulA-NnfiK9ko,1622
|
|
|
3
3
|
aapi/addevents.py,sha256=maZH3TpP1C1usvM2qee4DNl1PUA6IpnAWUKki1WGUlg,793
|
|
4
4
|
aapi/ai.py,sha256=3mZu6I8PSbnr0v6AKxZ3-OA8RbdHlI55qCeaqlF3iXA,2094
|
|
5
5
|
aapi/basefolder.py,sha256=l6wHCwCr-RkJIaDQGzV22bbHk6DQWiNpKHKmOe0x-I4,14191
|
|
6
|
-
aapi/bases.py,sha256=
|
|
6
|
+
aapi/bases.py,sha256=BW4W4slph3fbA4uY0ubAp-kCyBal_RVIa2Gl4CA1lzg,4164
|
|
7
7
|
aapi/businessfield.py,sha256=T11iWMIp8BtQCCrkR3glp0E7dKOLI00qO3lKT6_Ngdw,373
|
|
8
8
|
aapi/businessparameter.py,sha256=Ee8NBDM4TDA2wx7T2lsj1yaNRJ-Pt5FADPCwx8qa4JU,3372
|
|
9
9
|
aapi/calendar.py,sha256=C6mAQhypnSs2IG1CKRbjTekLdo87AHJ5GM_a3HofF3c,9322
|
|
@@ -728,7 +728,7 @@ clients/ctm_saas_client/models/workspace_folder.py,sha256=Uxn61e8LzGzceVV6TBofuy
|
|
|
728
728
|
clients/ctm_saas_client/models/workspace_folders.py,sha256=rpVIXVw8Fh_9W-mfuDEDClC0vYTStKQo_8zgGcGaZu8,3455
|
|
729
729
|
clients/ctm_saas_client/models/zoo_keeper.py,sha256=qYqn4P4CaKqLAKSxBoJvwxm1OGUcS8cmy9BW8Ul7maI,8790
|
|
730
730
|
clients/ctm_saas_client/models/zos_template_data.py,sha256=RF7S-oR4rmbwc_WJDebk2SLvkAku4uxd_a59Cq_DzVM,18096
|
|
731
|
-
ctm_python_client/__init__.py,sha256=
|
|
731
|
+
ctm_python_client/__init__.py,sha256=kBOH7JmRxvqzB5r3C90YEJWsMNhEAeR1u3wwU954ZiQ,49
|
|
732
732
|
ctm_python_client/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
733
733
|
ctm_python_client/core/comm.py,sha256=33NSUm-dI9jo7jwQft76KSxridmQsjuX-0eNbQSH5Fo,6726
|
|
734
734
|
ctm_python_client/core/credential.py,sha256=UDN1Q8IYf-ufiXUr-aHm1MDu9bVX8J0Hk8BhvlmYfKk,1009
|
|
@@ -738,8 +738,8 @@ ctm_python_client/ext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
|
738
738
|
ctm_python_client/ext/autogen.py,sha256=Oo5UZ2HKIuMh98e2FDb9GN9dChVe1mt3kcaaOaqBNPk,6671
|
|
739
739
|
ctm_python_client/ext/credential.py,sha256=2AdNAPtquq9ApH41pWi8Zt8mhlh9VNWVFXeLCNrxOfA,469
|
|
740
740
|
ctm_python_client/ext/viz.py,sha256=oVY7DYP0H-nCGRQIb1nZgspc8DQdsS8yWUCAl5x_dwg,1672
|
|
741
|
-
ctm_python_client-2.4.
|
|
742
|
-
ctm_python_client-2.4.
|
|
743
|
-
ctm_python_client-2.4.
|
|
744
|
-
ctm_python_client-2.4.
|
|
745
|
-
ctm_python_client-2.4.
|
|
741
|
+
ctm_python_client-2.4.1.dist-info/LICENSE,sha256=L9eFhIgJK0TNYFm9I7tDUR1CDI8muWkBJvzpbkGCVh8,1525
|
|
742
|
+
ctm_python_client-2.4.1.dist-info/METADATA,sha256=D4-dep8hh0bk59q0zQsp5rl18ymC0lKGsAMcF4W1CKY,2921
|
|
743
|
+
ctm_python_client-2.4.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
744
|
+
ctm_python_client-2.4.1.dist-info/top_level.txt,sha256=Dz3aBWbGmLA3lZcNMUAWX_Yhdw0FdplhI52YBid8Oe0,31
|
|
745
|
+
ctm_python_client-2.4.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|