accsyn-python-api 3.0.1__tar.gz → 3.0.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.
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/PKG-INFO +1 -1
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/release_notes.rst +7 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/setup.py +1 -1
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/source/accsyn_api/session.py +12 -12
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/source/accsyn_python_api.egg-info/PKG-INFO +1 -1
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/.github/workflows/github-actions-black.yml +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/.gitignore +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/.pre-commit-config.yaml +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/.readthedocs.yaml +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/README.md +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/_static/accsyn.css +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/api_reference/index.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/api_reference/session.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/clients.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/conf.py +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/datatypes.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/file.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/glossary.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/index.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/installing.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/introduction.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/jobs.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/misc.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/publish.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/queues.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/render.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/requirements.txt +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/shares.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/users.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/doc/using.rst +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/pyproject.toml +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/readthedocs.yaml +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/setup.cfg +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/source/accsyn_api/__init__.py +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/source/accsyn_api/_version.py +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/source/accsyn_python_api.egg-info/SOURCES.txt +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/source/accsyn_python_api.egg-info/dependency_links.txt +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/source/accsyn_python_api.egg-info/requires.txt +0 -0
- {accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/source/accsyn_python_api.egg-info/top_level.txt +0 -0
|
@@ -187,7 +187,7 @@ class Session(object):
|
|
|
187
187
|
)
|
|
188
188
|
if not domain:
|
|
189
189
|
raise AccsynException(
|
|
190
|
-
"Please supply your accsyn domain/
|
|
190
|
+
"Please supply your accsyn domain/workspace or set " "ACCSYN_DOMAIN environment!"
|
|
191
191
|
)
|
|
192
192
|
if not username:
|
|
193
193
|
username = os.environ.get("ACCSYN_API_USER")
|
|
@@ -802,7 +802,7 @@ class Session(object):
|
|
|
802
802
|
data["include"] = include
|
|
803
803
|
if exclude:
|
|
804
804
|
data["exclude"] = exclude
|
|
805
|
-
response = self._event("GET", "
|
|
805
|
+
response = self._event("GET", "workspace/file", data)
|
|
806
806
|
if response:
|
|
807
807
|
return response["result"]
|
|
808
808
|
|
|
@@ -831,7 +831,7 @@ class Session(object):
|
|
|
831
831
|
data["include"] = include
|
|
832
832
|
if exclude:
|
|
833
833
|
data["exclude"] = exclude
|
|
834
|
-
response = self._event("GET", "
|
|
834
|
+
response = self._event("GET", "workspace/file", data)
|
|
835
835
|
if response:
|
|
836
836
|
return response["result"]
|
|
837
837
|
|
|
@@ -849,7 +849,7 @@ class Session(object):
|
|
|
849
849
|
"op": "exists",
|
|
850
850
|
"path": path,
|
|
851
851
|
}
|
|
852
|
-
response = self._event("GET", "
|
|
852
|
+
response = self._event("GET", "workspace/file", data)
|
|
853
853
|
if response:
|
|
854
854
|
return response["result"]
|
|
855
855
|
|
|
@@ -869,7 +869,7 @@ class Session(object):
|
|
|
869
869
|
"op": "mkdir",
|
|
870
870
|
"path": path,
|
|
871
871
|
}
|
|
872
|
-
response = self._event("POST", "
|
|
872
|
+
response = self._event("POST", "workspace/file", data)
|
|
873
873
|
if response:
|
|
874
874
|
return response["result"]
|
|
875
875
|
|
|
@@ -894,7 +894,7 @@ class Session(object):
|
|
|
894
894
|
"path": path,
|
|
895
895
|
"path_to": path_to,
|
|
896
896
|
}
|
|
897
|
-
response = self._event("PUT", "
|
|
897
|
+
response = self._event("PUT", "workspace/file", data)
|
|
898
898
|
if response:
|
|
899
899
|
return response["result"]
|
|
900
900
|
|
|
@@ -919,7 +919,7 @@ class Session(object):
|
|
|
919
919
|
"path": path_src,
|
|
920
920
|
"path_to": path_dst,
|
|
921
921
|
}
|
|
922
|
-
response = self._event("PUT", "
|
|
922
|
+
response = self._event("PUT", "workspace/file", data)
|
|
923
923
|
if response:
|
|
924
924
|
return response["result"]
|
|
925
925
|
|
|
@@ -939,7 +939,7 @@ class Session(object):
|
|
|
939
939
|
"op": "mkdir",
|
|
940
940
|
"path": path,
|
|
941
941
|
}
|
|
942
|
-
response = self._event("POST", "
|
|
942
|
+
response = self._event("POST", "workspace/file", data)
|
|
943
943
|
if response:
|
|
944
944
|
return response["result"]
|
|
945
945
|
|
|
@@ -966,7 +966,7 @@ class Session(object):
|
|
|
966
966
|
return result
|
|
967
967
|
|
|
968
968
|
event_data = {"files": data, "size": recursive_get_size(data)}
|
|
969
|
-
response = self._event("PUT", "
|
|
969
|
+
response = self._event("PUT", "workspace/publish/preprocess", event_data)
|
|
970
970
|
return response["result"]
|
|
971
971
|
|
|
972
972
|
# Settings
|
|
@@ -1046,7 +1046,7 @@ class Session(object):
|
|
|
1046
1046
|
assert len(operation) > 0, 'No operation provided'
|
|
1047
1047
|
return self._event(
|
|
1048
1048
|
"PUT",
|
|
1049
|
-
"
|
|
1049
|
+
"workspace/integration/{}/utility".format(name),
|
|
1050
1050
|
{
|
|
1051
1051
|
'operation': operation,
|
|
1052
1052
|
'data': data,
|
|
@@ -1431,9 +1431,9 @@ class Session(object):
|
|
|
1431
1431
|
uri_base = entitytype
|
|
1432
1432
|
# Send query to server, first determine uri
|
|
1433
1433
|
# if entitytype == 'share':
|
|
1434
|
-
# uri_base = '
|
|
1434
|
+
# uri_base = 'workspace/share'
|
|
1435
1435
|
if entitytype == "site":
|
|
1436
|
-
uri_base = "
|
|
1436
|
+
uri_base = "workspace/site"
|
|
1437
1437
|
elif entitytype == "queue":
|
|
1438
1438
|
uri_base = "job"
|
|
1439
1439
|
elif entitytype == "task":
|
{accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/.github/workflows/github-actions-black.yml
RENAMED
|
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
|
|
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
|
{accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/source/accsyn_python_api.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/source/accsyn_python_api.egg-info/requires.txt
RENAMED
|
File without changes
|
{accsyn-python-api-3.0.1 → accsyn-python-api-3.0.2}/source/accsyn_python_api.egg-info/top_level.txt
RENAMED
|
File without changes
|