sws-api-client 0.0.4.dev0__tar.gz → 0.0.6.dev0__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.
- {sws_api_client-0.0.4.dev0/sws_api_client.egg-info → sws_api_client-0.0.6.dev0}/PKG-INFO +1 -1
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/setup.py +1 -1
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client/sws_api_client.py +4 -4
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0/sws_api_client.egg-info}/PKG-INFO +1 -1
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/LICENSE +0 -0
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/README.md +0 -0
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/setup.cfg +0 -0
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client/__init__.py +0 -0
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client/datasets.py +0 -0
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client/discover.py +0 -0
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client/tags.py +0 -0
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client/tasks.py +0 -0
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client.egg-info/SOURCES.txt +0 -0
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client.egg-info/dependency_links.txt +0 -0
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client.egg-info/requires.txt +0 -0
- {sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sws_api_client
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.6.dev0
|
|
4
4
|
Summary: A Python client to easily interact with the FAO SWS REST APIs
|
|
5
5
|
Home-page: https://bitbucket.org/cioapps/sws-it-python-api-client/src/main/
|
|
6
6
|
Author: Mansillo, Daniele (CSI)
|
|
@@ -29,8 +29,8 @@ class SwsApiClient:
|
|
|
29
29
|
return cls(
|
|
30
30
|
sws_endpoint=os.getenv(sws_endpoint_env),
|
|
31
31
|
access_token=os.getenv(access_token_env),
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
current_task_id = os.getenv("TASK_ID"),
|
|
33
|
+
current_execution_id = os.getenv("EXECUTION_ID")
|
|
34
34
|
)
|
|
35
35
|
|
|
36
36
|
@classmethod
|
|
@@ -51,10 +51,10 @@ class SwsApiClient:
|
|
|
51
51
|
"--access_token", type=str, required=True, help="The access token"
|
|
52
52
|
)
|
|
53
53
|
parser.add_argument(
|
|
54
|
-
"--
|
|
54
|
+
"--current_task_id", type=str, required=False, help="The current task ID"
|
|
55
55
|
)
|
|
56
56
|
parser.add_argument(
|
|
57
|
-
"--
|
|
57
|
+
"--current_execution_id", type=str, required=False, help="The current execution ID"
|
|
58
58
|
)
|
|
59
59
|
|
|
60
60
|
args, _ = parser.parse_known_args()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sws_api_client
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.6.dev0
|
|
4
4
|
Summary: A Python client to easily interact with the FAO SWS REST APIs
|
|
5
5
|
Home-page: https://bitbucket.org/cioapps/sws-it-python-api-client/src/main/
|
|
6
6
|
Author: Mansillo, Daniele (CSI)
|
|
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
|
{sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client.egg-info/requires.txt
RENAMED
|
File without changes
|
{sws_api_client-0.0.4.dev0 → sws_api_client-0.0.6.dev0}/sws_api_client.egg-info/top_level.txt
RENAMED
|
File without changes
|