wizata-dsapi 1.2.22__py3-none-any.whl → 1.2.24__py3-none-any.whl

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.
wizata_dsapi/datapoint.py CHANGED
@@ -21,6 +21,7 @@ class Category(ApiDto):
21
21
  else:
22
22
  self.category_id = category_id
23
23
  self.name = name
24
+ self.units = []
24
25
 
25
26
  def api_id(self) -> str:
26
27
  return str(self.category_id).upper()
@@ -149,13 +150,17 @@ class Unit(ApiDto):
149
150
  if self.short_name is not None and self.short_name != '':
150
151
  obj["shortName"] = self.short_name
151
152
  if self.short_name is not None and self.short_name != '':
152
- obj["fullName"] = self.short_name
153
+ obj["fullName"] = self.full_name
153
154
  if self.category_id is not None:
154
155
  obj["categoryId"] = str(self.category_id)
155
156
  if self.from_canonical is not None and self.from_canonical != '':
156
157
  obj["fromCanonical"] = self.from_canonical
158
+ else:
159
+ obj["fromCanonical"] = None
157
160
  if self.to_canonical is not None and self.to_canonical != '':
158
161
  obj["toCanonical"] = self.to_canonical
162
+ else:
163
+ obj["toCanonical"] = None
159
164
  return obj
160
165
 
161
166
 
wizata_dsapi/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.2.22"
1
+ __version__ = "1.2.24"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wizata-dsapi
3
- Version: 1.2.22
3
+ Version: 1.2.24
4
4
  Summary: Wizata Data Science Toolkit
5
5
  Author: Wizata S.A.
6
6
  Author-email: info@wizata.com
@@ -6,7 +6,7 @@ wizata_dsapi/bucket.py,sha256=Zz9olv-pymikAutGitSuGWrAPiawOTW86JDDHG4ugTc,1150
6
6
  wizata_dsapi/business_label.py,sha256=u0TVfUNfoR9qSv8lzpf6rNjlg3G9xTiz6itefcKfeak,4151
7
7
  wizata_dsapi/context.py,sha256=M7hsvXoU0Bn_5ONDB-5VvjriMpno6bAgh0RrJ9Y-h7U,11600
8
8
  wizata_dsapi/dataframe_toolkit.py,sha256=22H4SizmhTQ1DNIzd6tg0izgncRDcrdkfGdBO6Vbi5g,9039
9
- wizata_dsapi/datapoint.py,sha256=eqqQqNOFKaO-EWD0FNi_y-lvF6K5pdRhOT0FZkVuwV8,14506
9
+ wizata_dsapi/datapoint.py,sha256=UUatqzWMwC4ucM6HdeQDWtLS4fGqEsDABCNVmxoP5Hg,14635
10
10
  wizata_dsapi/datastore.py,sha256=BSHZmCSJ679boBA1eCkaWGJCy1CUeipKKGt2jDHzdVo,2663
11
11
  wizata_dsapi/ds_dataframe.py,sha256=Sk2JRUuTRJzko3HosJnbK34STpgSJUlqxLq8w_E5VM4,2089
12
12
  wizata_dsapi/dsapi_json_encoder.py,sha256=EhY1NA3-UQJ3HFYYbe7bvXb8NuhOvHVMJvXyGvX_T3k,2772
@@ -31,7 +31,7 @@ wizata_dsapi/template.py,sha256=kjfzOgS_ngUMjmptsdmo9xFQp5chEjEuz1xGXW_5FUI,1328
31
31
  wizata_dsapi/trigger.py,sha256=w3BZYP-L3SUwvaT0oCTanh_Ewn57peZvlt7vxzHv9J8,5129
32
32
  wizata_dsapi/twin.py,sha256=S0DUzQf1smZXZTdXpXZPtkZYCfKIhw53EecCnsl9i4Q,11017
33
33
  wizata_dsapi/twinregistration.py,sha256=Mi6-YuwroiEXc0c1hgrOaphh4hNVoHupxOnXedVtJtE,13377
34
- wizata_dsapi/version.py,sha256=P6UdnfqZMN8bM1yBQGaUu5LMabVISCCurCBNtZJOvTE,23
34
+ wizata_dsapi/version.py,sha256=rRcFnLqwG22zZ399qswskAE5L_if50hEsd_TKzGcrZ4,23
35
35
  wizata_dsapi/wizard_function.py,sha256=RbM7W7Gf-6Rhp_1dU9DBYkHaciknGAGvuAndhAS_vyo,942
36
36
  wizata_dsapi/wizard_request.py,sha256=v6BaqKLKvTWmUSo0_gda9FabAQz5x_-GOH1Av50GzFo,3762
37
37
  wizata_dsapi/wizata_dsapi_client.py,sha256=6URQeMA5A9eXxC2cs8TUbKolmOo-Kj6kII9NmRRITPQ,78702
@@ -42,8 +42,8 @@ wizata_dsapi/plots/__init__.py,sha256=qgnSFqrjOPur-807M8uh5awIfjM1ZHXUXcAqHc-r2l
42
42
  wizata_dsapi/plots/common.py,sha256=jdPsJqLHBwSKc6dX83BSGPqSRxzIVNHSYO5yI_8sjGk,6568
43
43
  wizata_dsapi/scripts/__init__.py,sha256=hAxiETSQf0qOHde1si1tEAJU48seqEgHrchCzS2-LvQ,80
44
44
  wizata_dsapi/scripts/common.py,sha256=efwq-Rd0lvYljIs3gSFz9izogBD7asOU2cTK-IvHTkM,4244
45
- wizata_dsapi-1.2.22.dist-info/LICENSE.txt,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
46
- wizata_dsapi-1.2.22.dist-info/METADATA,sha256=Jyus3v2oGuqEQnCkTb3KEBbFkLEnC9c-Pi0oj7LhAvI,2188
47
- wizata_dsapi-1.2.22.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
48
- wizata_dsapi-1.2.22.dist-info/top_level.txt,sha256=-OeTJbEnh5DuWyTOHtvw0Dw3LRg3G27TNS6W4ZtfwPs,13
49
- wizata_dsapi-1.2.22.dist-info/RECORD,,
45
+ wizata_dsapi-1.2.24.dist-info/LICENSE.txt,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
46
+ wizata_dsapi-1.2.24.dist-info/METADATA,sha256=Q6qIHMfhunIEQbj8f4vUaYf8vNxMx2Y5eKwTFz4Oj4Q,2188
47
+ wizata_dsapi-1.2.24.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
48
+ wizata_dsapi-1.2.24.dist-info/top_level.txt,sha256=-OeTJbEnh5DuWyTOHtvw0Dw3LRg3G27TNS6W4ZtfwPs,13
49
+ wizata_dsapi-1.2.24.dist-info/RECORD,,