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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: accli
3
- Version: 0.7
3
+ Version: 0.7.1
4
4
  Summary: IIASA Accelerator Client
5
5
  Author-email: Wrufesh S <wrufesh@gmail.com>
6
6
  License: The MIT License (MIT)
@@ -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}/create-multipart-upload-id/{filename}",
252
+ f"{self.cli_base_url}/multipart-upload-id/?filename={encoded_filename}",
251
253
  headers=self.common_request_headers
252
254
  )
253
255
 
@@ -1,3 +1,3 @@
1
1
  # Please strictly put double quote to use this info for git tag
2
2
  # Read developer guide for git tag command with regex
3
- VERSION = "v0.7"
3
+ VERSION = "v0.7.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: accli
3
- Version: 0.7
3
+ Version: 0.7.1
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
File without changes