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.
- {accli-1.1.1 → accli-1.1.2}/PKG-INFO +1 -1
- {accli-1.1.1 → accli-1.1.2}/accli/AcceleratorTaskDispatcher.py +0 -15
- {accli-1.1.1 → accli-1.1.2}/accli/_version.py +1 -1
- {accli-1.1.1 → accli-1.1.2}/accli.egg-info/PKG-INFO +1 -1
- {accli-1.1.1 → accli-1.1.2}/LICENSE +0 -0
- {accli-1.1.1 → accli-1.1.2}/README.md +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli/AcceleratorJobProjectService.py +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli/AcceleratorTerminalCliProjectService.py +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli/CsvRegionalTimeseriesValidator.py +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli/__init__.py +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli/__main__.py +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli/cli.py +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli/common.py +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli/token.py +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli.egg-info/SOURCES.txt +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli.egg-info/dependency_links.txt +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli.egg-info/entry_points.txt +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli.egg-info/requires.txt +0 -0
- {accli-1.1.1 → accli-1.1.2}/accli.egg-info/top_level.txt +0 -0
- {accli-1.1.1 → accli-1.1.2}/pyproject.toml +0 -0
- {accli-1.1.1 → accli-1.1.2}/setup.cfg +0 -0
|
@@ -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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|