zipher-sdk 0.4.3__tar.gz → 0.4.4__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.
- {zipher-sdk-0.4.3/zipher_sdk.egg-info → zipher-sdk-0.4.4}/PKG-INFO +1 -1
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/setup.py +1 -1
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher/client.py +8 -2
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher/models.py +1 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4/zipher_sdk.egg-info}/PKG-INFO +1 -1
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/LICENSE +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/README.md +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/setup.cfg +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/tests/__init__.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/tests/test_acl/__init__.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/tests/test_acl/sample_job.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/tests/test_acl/test_acl.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/tests/test_client.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher/__init__.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher/acl/__init__.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher/acl/models.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher/acl/zipher_installer.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher/cli.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher/exceptions.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher/utils.py +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher_sdk.egg-info/SOURCES.txt +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher_sdk.egg-info/dependency_links.txt +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher_sdk.egg-info/entry_points.txt +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher_sdk.egg-info/requires.txt +0 -0
- {zipher-sdk-0.4.3 → zipher-sdk-0.4.4}/zipher_sdk.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ with open('README.md', encoding='utf-8') as f:
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='zipher-sdk',
|
|
11
|
-
version='0.4.
|
|
11
|
+
version='0.4.4',
|
|
12
12
|
description='Python SDK for programmatic access to the Zipher API',
|
|
13
13
|
long_description=long_description,
|
|
14
14
|
long_description_content_type='text/markdown',
|
|
@@ -56,10 +56,16 @@ class Client:
|
|
|
56
56
|
def get_optimized_config_as_dbx_cluster_spec(self, job_id: str) -> ClusterSpec:
|
|
57
57
|
return ClusterSpec.from_dict(self.get_optimized_config(job_id))
|
|
58
58
|
|
|
59
|
-
def update_existing_conf(self, job_id: str, existing_conf: Dict, task_key: Optional[str] = None) -> Dict:
|
|
59
|
+
def update_existing_conf(self, job_id: str, existing_conf: Dict, task_key: Optional[str] = None, run_params: Optional[Dict] = None) -> Dict:
|
|
60
60
|
if 'new_cluster' in existing_conf:
|
|
61
61
|
existing_conf = existing_conf['new_cluster']
|
|
62
|
-
params = ConfFetcherRequest(
|
|
62
|
+
params = ConfFetcherRequest(
|
|
63
|
+
customer_id=self.customer_id,
|
|
64
|
+
job_id=job_id,
|
|
65
|
+
merge_with=json.dumps(existing_conf),
|
|
66
|
+
task_key=task_key,
|
|
67
|
+
run_params=json.dumps(run_params) if run_params is not None else None,
|
|
68
|
+
)
|
|
63
69
|
try:
|
|
64
70
|
return self._call_conf_fetcher_api(params)
|
|
65
71
|
except:
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|