wizata-dsapi 1.2.21__tar.gz → 1.2.23__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.
Files changed (54) hide show
  1. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/PKG-INFO +1 -1
  2. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/datapoint.py +11 -2
  3. wizata_dsapi-1.2.23/wizata_dsapi/version.py +1 -0
  4. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi.egg-info/PKG-INFO +1 -1
  5. wizata_dsapi-1.2.21/wizata_dsapi/version.py +0 -1
  6. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/LICENSE.txt +0 -0
  7. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/README.rst +0 -0
  8. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/setup.cfg +0 -0
  9. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/setup.py +0 -0
  10. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/__init__.py +0 -0
  11. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/api_config.py +0 -0
  12. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/api_dto.py +0 -0
  13. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/api_interface.py +0 -0
  14. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/bucket.py +0 -0
  15. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/business_label.py +0 -0
  16. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/context.py +0 -0
  17. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/dataframe_toolkit.py +0 -0
  18. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/datastore.py +0 -0
  19. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/ds_dataframe.py +0 -0
  20. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/dsapi_json_encoder.py +0 -0
  21. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/evaluation.py +0 -0
  22. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/execution.py +0 -0
  23. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/experiment.py +0 -0
  24. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/group_system.py +0 -0
  25. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/ilogger.py +0 -0
  26. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/insight.py +0 -0
  27. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/mlmodel.py +0 -0
  28. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/model_toolkit.py +0 -0
  29. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/models/__init__.py +0 -0
  30. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/models/common.py +0 -0
  31. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/paged_query_result.py +0 -0
  32. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/pipeline.py +0 -0
  33. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/pipeline_image.py +0 -0
  34. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/plot.py +0 -0
  35. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/plots/__init__.py +0 -0
  36. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/plots/common.py +0 -0
  37. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/request.py +0 -0
  38. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/script.py +0 -0
  39. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/scripts/__init__.py +0 -0
  40. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/scripts/common.py +0 -0
  41. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/solution_component.py +0 -0
  42. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/streamlit_utils.py +0 -0
  43. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/template.py +0 -0
  44. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/trigger.py +0 -0
  45. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/twin.py +0 -0
  46. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/twinregistration.py +0 -0
  47. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/wizard_function.py +0 -0
  48. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/wizard_request.py +0 -0
  49. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/wizata_dsapi_client.py +0 -0
  50. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi/words.py +0 -0
  51. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi.egg-info/SOURCES.txt +0 -0
  52. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi.egg-info/dependency_links.txt +0 -0
  53. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi.egg-info/requires.txt +0 -0
  54. {wizata_dsapi-1.2.21 → wizata_dsapi-1.2.23}/wizata_dsapi.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wizata_dsapi
3
- Version: 1.2.21
3
+ Version: 1.2.23
4
4
  Summary: Wizata Data Science Toolkit
5
5
  Author: Wizata S.A.
6
6
  Author-email: info@wizata.com
@@ -91,6 +91,7 @@ class Unit(ApiDto):
91
91
 
92
92
  def __init__(self,
93
93
  unit_id: uuid.UUID = None,
94
+ symbol: str = None,
94
95
  short_name: str = None,
95
96
  full_name: str = None,
96
97
  category_id: uuid.UUID = None,
@@ -101,6 +102,7 @@ class Unit(ApiDto):
101
102
  self.unit_id = uuid.uuid4()
102
103
  else:
103
104
  self.unit_id = unit_id
105
+ self.symbol = symbol
104
106
  self.short_name = short_name
105
107
  self.full_name = full_name
106
108
  self.category_id = category_id
@@ -122,7 +124,8 @@ class Unit(ApiDto):
122
124
  """
123
125
  if "id" in obj.keys():
124
126
  self.unit_id = uuid.UUID(obj["id"])
125
-
127
+ if "symbol" in obj.keys():
128
+ self.symbol = obj["symbol"]
126
129
  if "shortName" in obj.keys() and obj["shortName"] is not None:
127
130
  self.short_name = obj["shortName"]
128
131
  if "fullName" in obj.keys() and obj["fullName"] is not None:
@@ -141,16 +144,22 @@ class Unit(ApiDto):
141
144
  "id": str(self.unit_id),
142
145
  "isCanonical": self.is_canonical
143
146
  }
147
+ if self.symbol is not None and self.symbol != '':
148
+ obj["symbol"] = self.symbol
144
149
  if self.short_name is not None and self.short_name != '':
145
150
  obj["shortName"] = self.short_name
146
151
  if self.short_name is not None and self.short_name != '':
147
- obj["fullName"] = self.short_name
152
+ obj["fullName"] = self.full_name
148
153
  if self.category_id is not None:
149
154
  obj["categoryId"] = str(self.category_id)
150
155
  if self.from_canonical is not None and self.from_canonical != '':
151
156
  obj["fromCanonical"] = self.from_canonical
157
+ else:
158
+ obj["fromCanonical"] = None
152
159
  if self.to_canonical is not None and self.to_canonical != '':
153
160
  obj["toCanonical"] = self.to_canonical
161
+ else:
162
+ obj["toCanonical"] = None
154
163
  return obj
155
164
 
156
165
 
@@ -0,0 +1 @@
1
+ __version__ = "1.2.23"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wizata-dsapi
3
- Version: 1.2.21
3
+ Version: 1.2.23
4
4
  Summary: Wizata Data Science Toolkit
5
5
  Author: Wizata S.A.
6
6
  Author-email: info@wizata.com
@@ -1 +0,0 @@
1
- __version__ = "1.2.21"
File without changes
File without changes
File without changes
File without changes