streamlit-octostar-utils 0.2.11__py3-none-any.whl → 0.2.12a1__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.
@@ -2,7 +2,9 @@ def is_child_concept(type, parent_type, ontology):
2
2
  return type == parent_type or parent_type in ontology["concepts"][type]["parents"]
3
3
 
4
4
  def get_label_keys(type, ontology):
5
- parents = list(set(ontology["concepts"][type]["parents"]).add(type))
5
+ parents = set(ontology["concepts"][type]["parents"])
6
+ parents.add(type)
7
+ parents = list(parents)
6
8
  parents.reverse()
7
9
  label_keys = {} # for guaranteed insertion order
8
10
  for parent in parents:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamlit-octostar-utils
3
- Version: 0.2.11
3
+ Version: 0.2.12a1
4
4
  Summary:
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -28,7 +28,7 @@ streamlit_octostar_utils/octostar/context.py,sha256=TpucK48EbeVy4vDqKd9UULEtr1JO
28
28
  streamlit_octostar_utils/octostar/permissions.py,sha256=G5nZQLR-k-5_Xeto4nDTb32828Ga-SHm1mvSB9tz-t4,1565
29
29
  streamlit_octostar_utils/ontology/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
30
30
  streamlit_octostar_utils/ontology/expand_entities.py,sha256=bBt32Dnts3VSzu13QQtPyfYe05IRodD9WfnhNTiBg_w,22749
31
- streamlit_octostar_utils/ontology/inheritance.py,sha256=1yQ-o1uiVrqHDjLfFTz2oY2DXPF-7sSBG6Dfwcc_W98,548
31
+ streamlit_octostar_utils/ontology/inheritance.py,sha256=T5W94NdW5GIigEwiFCBXcL57H8qQbu2gUBy4gj1FlwU,582
32
32
  streamlit_octostar_utils/ontology/validation.py,sha256=0cXxEq8vQ63qxn4WianTioTcsmpsg4jEXVyI4R6x1gE,1051
33
33
  streamlit_octostar_utils/style/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
34
34
  streamlit_octostar_utils/style/common.py,sha256=TKfjV9-sIoJChGM7Ewg3uPsz5sMmPxFwmc0o3L4D8Qo,1496
@@ -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.11.dist-info/METADATA,sha256=wSZhgOw-dcpP-5eXNB6uHBB4JWdP3vkbP6LzsK1Io54,2330
40
- streamlit_octostar_utils-0.2.11.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
41
- streamlit_octostar_utils-0.2.11.dist-info/licenses/LICENSE,sha256=dkwVPyV03fPHHtERnF6RnvRXcll__tud9gWca1RcgnQ,1073
42
- streamlit_octostar_utils-0.2.11.dist-info/RECORD,,
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,,