streamlit-octostar-utils 0.2.12a1__py3-none-any.whl → 0.2.12a2__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.
@@ -760,7 +760,7 @@ class NifiEntity(object):
760
760
 
761
761
  @property
762
762
  def label(self):
763
- label_keys = self.request["ontology"]["label_keys"]
763
+ label_keys = self.request["ontology_info"]["label_keys"]
764
764
  label = " ".join([(self.record.get(field) or "") for field in label_keys]).strip()
765
765
  if not label:
766
766
  label = None
@@ -862,9 +862,9 @@ class NifiEntity(object):
862
862
  random_id = str(uuid.uuid4())
863
863
  username = self.jwt_data["username"]
864
864
  if entity_type == self.record["entity_type"]:
865
- ont_parents = self.request["ontology"]["parents"]
866
- ont_relationships = self.request["ontology"]["relationships"]
867
- ont_label_keys = self.request["ontology"]["label_keys"]
865
+ ont_parents = self.request["ontology_info"]["parents"]
866
+ ont_relationships = self.request["ontology_info"]["relationships"]
867
+ ont_label_keys = self.request["ontology_info"]["label_keys"]
868
868
  else:
869
869
  ont_parents = self.context.ontology["concepts"][entity_type]["parents"]
870
870
  ont_relationships = self.context.ontology["concepts"][entity_type]["relationships"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamlit-octostar-utils
3
- Version: 0.2.12a1
3
+ Version: 0.2.12a2
4
4
  Summary:
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -2,7 +2,7 @@ streamlit_octostar_utils/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-Y
2
2
  streamlit_octostar_utils/api_crafter/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
3
  streamlit_octostar_utils/api_crafter/celery.py,sha256=BXOTGN9egdD75qf-PkccLGAoniilB9PZ_NRchFIjWdw,30051
4
4
  streamlit_octostar_utils/api_crafter/fastapi.py,sha256=RKQrStPzG1I1pxsPJvGs_DRrnjlMJbVmu9ObMF2LgZ0,14368
5
- streamlit_octostar_utils/api_crafter/nifi.py,sha256=IPWP5KasbQxx4G3Vwkh8gBMq0Lkz86EeZNzBJLU_vqg,44607
5
+ streamlit_octostar_utils/api_crafter/nifi.py,sha256=KWcLz0s_ciEyc7yrKRb_V_1ycTcmVqwNs9qVrvO79Hs,44627
6
6
  streamlit_octostar_utils/api_crafter/parser/__init__.py,sha256=YeYWF6sdQiCFV_RKNW2t9Vs6KJExE2pbXxWTe_DOayY,107
7
7
  streamlit_octostar_utils/api_crafter/parser/combine_fields.py,sha256=ddc44xkajw8MU0peAX_263DL7rPXbTKbHUjpOhRgvyU,8790
8
8
  streamlit_octostar_utils/api_crafter/parser/entities_parser.py,sha256=zOQoN-p1Gz6ZzxvoX4M1b4Fi3mfmQr5zaNUcp_8gCjw,30016
@@ -36,7 +36,7 @@ streamlit_octostar_utils/threading/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzp
36
36
  streamlit_octostar_utils/threading/async_task_manager.py,sha256=q7N6YZwUvIYMzkSHmsJNheNVCv93c03H6Hyg9uH8pvk,4747
37
37
  streamlit_octostar_utils/threading/session_callback_manager.py,sha256=LvZVP4g6tvKtYmI13f2j1sX_7hm61Groqp5xJine9_k,3973
38
38
  streamlit_octostar_utils/threading/session_state_hot_swapper.py,sha256=6eeCQI6A42hp4DmW2NQw2rbeR-k9N8DhfBKQdN_fbLU,811
39
- streamlit_octostar_utils-0.2.12a1.dist-info/METADATA,sha256=DrFzRGdV9en7ueT3zAINd7gfmqoaqldNmuwDJxYRoUU,2332
40
- streamlit_octostar_utils-0.2.12a1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
41
- streamlit_octostar_utils-0.2.12a1.dist-info/licenses/LICENSE,sha256=dkwVPyV03fPHHtERnF6RnvRXcll__tud9gWca1RcgnQ,1073
42
- streamlit_octostar_utils-0.2.12a1.dist-info/RECORD,,
39
+ streamlit_octostar_utils-0.2.12a2.dist-info/METADATA,sha256=Bg4GU3h-TjPojm7g8VGdmwjWlvdgSWxug0wuIFN7Fp0,2332
40
+ streamlit_octostar_utils-0.2.12a2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
41
+ streamlit_octostar_utils-0.2.12a2.dist-info/licenses/LICENSE,sha256=dkwVPyV03fPHHtERnF6RnvRXcll__tud9gWca1RcgnQ,1073
42
+ streamlit_octostar_utils-0.2.12a2.dist-info/RECORD,,