accli 1.1.1__tar.gz → 1.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: accli
3
- Version: 1.1.1
3
+ Version: 1.1.2
4
4
  Summary: IIASA Accelerator Client
5
5
  Author-email: Wrufesh S <wrufesh@gmail.com>
6
6
  License: The MIT License (MIT)
@@ -135,21 +135,6 @@ class JobDispatchModel(BaseModel):
135
135
  children: List['JobDispatchModel'] = []
136
136
  callback: Optional['JobDispatchModel'] = None
137
137
 
138
- def model_dump(self, *args, **kwargs):
139
- result = super().model_dump(*args, **kwargs)
140
- if result['is_holder_job'] and result['execute_cluster'] == 'WKUBE':
141
- if len(result['children']) > 1:
142
- if not result['children'][0]['job_kwargs'].get('docker_image'):
143
- builder_task = result['children'][0].copy()
144
-
145
- builder_task['build_only_task'] = True
146
-
147
- builder_task['callback'] = result.copy()
148
- builder_task['name'] = f"{builder_task['callback']['name']} -- Image Builder"
149
- builder_task['callback']['name'] = f"{builder_task['callback']['name']} -- Holder"
150
- return builder_task
151
- return result
152
-
153
138
 
154
139
  class WKubeTaskMeta(BaseModel):
155
140
  required_cores: float
@@ -1,3 +1,3 @@
1
1
  # Please strictly put double quote to use this info for git tag
2
2
  # Read a developer guide for git tag command with regex
3
- VERSION = "v1.1.1"
3
+ VERSION = "v1.1.2"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: accli
3
- Version: 1.1.1
3
+ Version: 1.1.2
4
4
  Summary: IIASA Accelerator Client
5
5
  Author-email: Wrufesh S <wrufesh@gmail.com>
6
6
  License: The MIT License (MIT)
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
File without changes