pyegeria 0.5.5.7__py3-none-any.whl → 0.5.5.9__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.
@@ -70,14 +70,15 @@ def asset_viewer(asset_guid: str, server_name:str, platform_url:str, user:str):
70
70
  ne_classifications = nested_element["classifications"]
71
71
  ne_class_md = build_classifications(ne_classifications)
72
72
  # ne_class_md = " " if ne_class_md is None else ne_class_md
73
- ne_props = nested_element["properties"]
74
-
73
+ ne_props = nested_element.get("properties","---")
75
74
  ne_prop_md = "\n"
76
- for prop in ne_props.keys():
77
- ne_prop_md += f"\t* {prop}: {ne_props[prop]}\n"
75
+ if type(ne_props) is dict:
76
+ for prop in ne_props.keys():
77
+ ne_prop_md += f"\t* {prop}: {ne_props[prop]}\n"
78
78
  ne_md = (f"Nested Element of Type: {ne_type} with GUID: {ne_guid} \n "
79
79
  f"* created by {ne_created_by} at time {ne_created_at}\n"
80
80
  f"\n* Properties:\n{ne_prop_md}\n")
81
+
81
82
  if ne_class_md is not None:
82
83
  ne_md += f"* {ne_class_md}"
83
84
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.5.5.7
3
+ Version: 0.5.5.9
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -3,7 +3,7 @@ examples/doc_samples/Create_Sustainability_Collection_Sample.py,sha256=iLBm1LwRL
3
3
  examples/widgets/catalog_user/README.md,sha256=aCCVo7iqyE-XGEvmoYXnkIGM0VskF95JTj6Egzec7LM,883
4
4
  examples/widgets/catalog_user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  examples/widgets/catalog_user/list_assets.py,sha256=s-Uje62lRYhpnPXt3Bl31IJ5YXcs8mp4-alPYAMMIqk,4701
6
- examples/widgets/catalog_user/view_asset_graph.py,sha256=yE-tp4eFWO9ZEYWOuHoi2bNOVScv-NdQ-SAjD7f0meE,9635
6
+ examples/widgets/catalog_user/view_asset_graph.py,sha256=1B0v4YEix35anTgg5_h5q2lkVe_2wyibJatjROMA-uw,9688
7
7
  examples/widgets/catalog_user/view_collection.py,sha256=RWvq_HT5e6JBAiQBc3w94SM6DYJJEJluVen3vX-PqGo,3270
8
8
  examples/widgets/catalog_user/view_glossary.py,sha256=uDAZHJ1WPkkl9S1fzVKJOISjU8LDMPQO9KP4qdmaRnY,4652
9
9
  examples/widgets/developer/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
@@ -60,8 +60,8 @@ pyegeria/runtime_manager_omvs.py,sha256=WekK7Yeyn6Qu9YmbSDo3m57MN0xOsIm9M8kGHfRO
60
60
  pyegeria/server_operations.py,sha256=YBdQJjPOmA1uhrUvzrjUKNGUc5nju9bhvCjF3AbdyWk,16164
61
61
  pyegeria/utils.py,sha256=R1_WwYa8sYJUYR0H8sKrlwEa5BJ32M8-tdfB-zq8Xs4,5282
62
62
  pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
63
- pyegeria-0.5.5.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
64
- pyegeria-0.5.5.7.dist-info/METADATA,sha256=HfxLY15XzFIEnfhRGVNj11D422Uo9HSzHGGLe-COjPI,2611
65
- pyegeria-0.5.5.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
66
- pyegeria-0.5.5.7.dist-info/entry_points.txt,sha256=yR22RzRO974vzRMeo7_ysc-_5pxHmgnvyk8FHTZviOw,1950
67
- pyegeria-0.5.5.7.dist-info/RECORD,,
63
+ pyegeria-0.5.5.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
64
+ pyegeria-0.5.5.9.dist-info/METADATA,sha256=F9fBcznUXLLYGlR-VUB4cQOyRchHRd9vdtt7qCx5BPQ,2611
65
+ pyegeria-0.5.5.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
66
+ pyegeria-0.5.5.9.dist-info/entry_points.txt,sha256=yR22RzRO974vzRMeo7_ysc-_5pxHmgnvyk8FHTZviOw,1950
67
+ pyegeria-0.5.5.9.dist-info/RECORD,,