accli 0.7__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.7 → accli-0.7.1}/PKG-INFO +1 -1
- {accli-0.7 → accli-0.7.1}/accli/AcceleratorJobProjectService.py +3 -1
- {accli-0.7 → accli-0.7.1}/accli/_version.py +1 -1
- {accli-0.7 → accli-0.7.1}/accli.egg-info/PKG-INFO +1 -1
- {accli-0.7 → accli-0.7.1}/LICENSE +0 -0
- {accli-0.7 → accli-0.7.1}/README.md +0 -0
- {accli-0.7 → accli-0.7.1}/accli/AcceleratorTaskDispatcher.py +0 -0
- {accli-0.7 → accli-0.7.1}/accli/AcceleratorTerminalCliProjectService.py +0 -0
- {accli-0.7 → accli-0.7.1}/accli/CsvRegionalTimeseriesValidator.py +0 -0
- {accli-0.7 → accli-0.7.1}/accli/__init__.py +0 -0
- {accli-0.7 → accli-0.7.1}/accli/__main__.py +0 -0
- {accli-0.7 → accli-0.7.1}/accli/cli.py +0 -0
- {accli-0.7 → accli-0.7.1}/accli/common.py +0 -0
- {accli-0.7 → accli-0.7.1}/accli/token.py +0 -0
- {accli-0.7 → accli-0.7.1}/accli.egg-info/SOURCES.txt +0 -0
- {accli-0.7 → accli-0.7.1}/accli.egg-info/dependency_links.txt +0 -0
- {accli-0.7 → accli-0.7.1}/accli.egg-info/entry_points.txt +0 -0
- {accli-0.7 → accli-0.7.1}/accli.egg-info/requires.txt +0 -0
- {accli-0.7 → accli-0.7.1}/accli.egg-info/top_level.txt +0 -0
- {accli-0.7 → accli-0.7.1}/pyproject.toml +0 -0
- {accli-0.7 → 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
|
|
|
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
|