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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sws_api_client
3
- Version: 0.0.4.dev0
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)
@@ -7,7 +7,7 @@ here = os.path.abspath(os.path.dirname(__file__))
7
7
  with open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
8
8
  long_description = "\n" + fh.read()
9
9
 
10
- VERSION = "0.0.4-dev"
10
+ VERSION = "0.0.6-dev"
11
11
 
12
12
  # Setting up
13
13
  setup(
@@ -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
- currentTaskId = os.getenv("TASK_ID"),
33
- currentExecutionId = os.getenv("EXECUTION_ID")
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
- "--currentTaskId", type=str, required=False, help="The current task ID"
54
+ "--current_task_id", type=str, required=False, help="The current task ID"
55
55
  )
56
56
  parser.add_argument(
57
- "--currentExecutionId", type=str, required=False, help="The current execution ID"
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.4.dev0
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)