pyegeria 0.5.5__py3-none-any.whl → 0.5.5.1__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.
@@ -117,6 +117,8 @@ def asset_viewer(asset_guid: str, server_name:str, platform_url:str, user:str):
117
117
  style = ""
118
118
 
119
119
  asset_type = asset_graph["type"]["typeName"]
120
+ asset_deployed_imp_type = asset_graph.get("deployedImplementationType","---")
121
+
120
122
  asset_origin = asset_graph["origin"]["homeMetadataCollectionName"]
121
123
  asset_creation = asset_graph["versions"]["createTime"]
122
124
  asset_created_by = asset_graph["versions"]["createdBy"]
@@ -126,12 +128,15 @@ def asset_viewer(asset_guid: str, server_name:str, platform_url:str, user:str):
126
128
  asset_class_md = build_classifications(asset_classifications)
127
129
 
128
130
 
129
- asset_properties = asset_graph["extendedProperties"]
130
- prop_md = "\n* Extended Properties:\n"
131
- for prop in asset_properties:
132
- prop_md = f"{prop_md}\n\t* {prop}: {asset_properties[prop]}\n"
133
-
131
+ asset_properties = asset_graph.get("extendedProperties",None)
132
+ if asset_properties is not None:
133
+ prop_md = "\n* Extended Properties:\n"
134
+ for prop in asset_properties:
135
+ prop_md = f"{prop_md}\n\t* {prop}: {asset_properties[prop]}\n"
136
+ else:
137
+ prop_md = ""
134
138
  core_md = (f"**Type: {asset_type} Created by: {asset_created_by} on {asset_creation}**\n"
139
+ f"* Deployed Implementation Type: {asset_deployed_imp_type}\n"
135
140
  f"* Qualified Name: {qualified_name}\n "
136
141
  f"* Resource Name: {resource_name}\n"
137
142
  f"* Display Name: {asset_name}\n"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.5.5
3
+ Version: 0.5.5.1
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=9JwwVL7PXRkXliXssxAaC3FDiS17FI_2F5OTjKB53gI,9314
6
+ examples/widgets/catalog_user/view_asset_graph.py,sha256=M7CX7KExxrvf5d-Sr_azxt_fMRSZglz64k3NrFcBGk8,9579
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.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
64
- pyegeria-0.5.5.dist-info/METADATA,sha256=6Gmqcg-pGL-pQ63fv_e0pQjmESQj-CrEnKONL-jFpA0,2609
65
- pyegeria-0.5.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
66
- pyegeria-0.5.5.dist-info/entry_points.txt,sha256=yR22RzRO974vzRMeo7_ysc-_5pxHmgnvyk8FHTZviOw,1950
67
- pyegeria-0.5.5.dist-info/RECORD,,
63
+ pyegeria-0.5.5.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
64
+ pyegeria-0.5.5.1.dist-info/METADATA,sha256=AKfkbX9-gjwzhSKzG_JtWSwb5n0Mxu6DnXtjWDLoq_0,2611
65
+ pyegeria-0.5.5.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
66
+ pyegeria-0.5.5.1.dist-info/entry_points.txt,sha256=yR22RzRO974vzRMeo7_ysc-_5pxHmgnvyk8FHTZviOw,1950
67
+ pyegeria-0.5.5.1.dist-info/RECORD,,