accli 0.6.1__tar.gz → 0.7.1__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-0.6.1 → accli-0.7.1}/PKG-INFO +1 -1
- {accli-0.6.1 → accli-0.7.1}/accli/AcceleratorJobProjectService.py +7 -3
- {accli-0.6.1 → accli-0.7.1}/accli/_version.py +1 -1
- {accli-0.6.1 → accli-0.7.1}/accli.egg-info/PKG-INFO +1 -1
- {accli-0.6.1 → accli-0.7.1}/LICENSE +0 -0
- {accli-0.6.1 → accli-0.7.1}/README.md +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli/AcceleratorTaskDispatcher.py +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli/AcceleratorTerminalCliProjectService.py +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli/CsvRegionalTimeseriesValidator.py +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli/__init__.py +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli/__main__.py +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli/cli.py +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli/common.py +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli/token.py +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli.egg-info/SOURCES.txt +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli.egg-info/dependency_links.txt +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli.egg-info/entry_points.txt +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli.egg-info/requires.txt +0 -0
- {accli-0.6.1 → accli-0.7.1}/accli.egg-info/top_level.txt +0 -0
- {accli-0.6.1 → accli-0.7.1}/pyproject.toml +0 -0
- {accli-0.6.1 → accli-0.7.1}/setup.cfg +0 -0
|
@@ -6,6 +6,7 @@ import requests
|
|
|
6
6
|
import json
|
|
7
7
|
import base64
|
|
8
8
|
import urllib3
|
|
9
|
+
from urllib.parse import quote
|
|
9
10
|
from pathlib import Path
|
|
10
11
|
from typing import List, Tuple
|
|
11
12
|
|
|
@@ -245,9 +246,10 @@ class AcceleratorJobProjectService:
|
|
|
245
246
|
return todict(res.data)
|
|
246
247
|
|
|
247
248
|
def get_put_create_multipart_upload_id(self, filename):
|
|
249
|
+
encoded_filename = quote(filename)
|
|
248
250
|
res = self.http_client_request(
|
|
249
251
|
"GET",
|
|
250
|
-
f"{self.cli_base_url}/
|
|
252
|
+
f"{self.cli_base_url}/multipart-upload-id/?filename={encoded_filename}",
|
|
251
253
|
headers=self.common_request_headers
|
|
252
254
|
)
|
|
253
255
|
|
|
@@ -368,7 +370,8 @@ class AcceleratorJobProjectService:
|
|
|
368
370
|
self,
|
|
369
371
|
validated_bucket_object_id: int,
|
|
370
372
|
dataset_template_id: int,
|
|
371
|
-
validated_metadata: dict
|
|
373
|
+
validated_metadata: dict,
|
|
374
|
+
validation_supporting_bucket_object_ids: List[int]
|
|
372
375
|
):
|
|
373
376
|
headers = {"Content-Type": "application/json"}
|
|
374
377
|
|
|
@@ -380,7 +383,8 @@ class AcceleratorJobProjectService:
|
|
|
380
383
|
json=dict(
|
|
381
384
|
validated_bucket_object_id=validated_bucket_object_id,
|
|
382
385
|
dataset_template_id=dataset_template_id,
|
|
383
|
-
validated_metadata=validated_metadata
|
|
386
|
+
validated_metadata=validated_metadata,
|
|
387
|
+
validation_supporting_bucket_object_ids=validation_supporting_bucket_object_ids
|
|
384
388
|
),
|
|
385
389
|
headers=headers
|
|
386
390
|
)
|
|
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
|