sws-api-client 1.3.1__tar.gz → 1.3.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sws_api_client
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary:
5
5
  Author: Matteo
6
6
  Author-email: matteo.terrinoni@fao.org
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "sws_api_client"
3
- version = "1.3.1"
3
+ version = "1.3.2"
4
4
  description = ""
5
5
  authors = ["Matteo <matteo.terrinoni@fao.org>", "Daniele <daniele.mansillo@fao.org>"]
6
6
  readme = "README.md"
@@ -160,9 +160,9 @@ class TaskManager:
160
160
  data['outcome'] = outcome
161
161
 
162
162
  if output is not None:
163
- data['output'] = output
163
+ data['output'] = output.__dict__
164
164
 
165
- self.sws_client.discoverable.put(self.endpoint, path, data=data)
165
+ self.sws_client.discoverable.put(self.endpoint, path, json=data)
166
166
 
167
167
  def get_upload_artifact_url(self, task_id: str) -> str:
168
168
  """Get URL for uploading task artifacts.
File without changes
File without changes