pyegeria 0.5.4__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.
- examples/widgets/catalog_user/view_asset_graph.py +10 -5
- pyegeria/full_omag_server_config.py +8 -0
- {pyegeria-0.5.4.dist-info → pyegeria-0.5.5.1.dist-info}/METADATA +2 -1
- {pyegeria-0.5.4.dist-info → pyegeria-0.5.5.1.dist-info}/RECORD +7 -7
- {pyegeria-0.5.4.dist-info → pyegeria-0.5.5.1.dist-info}/LICENSE +0 -0
- {pyegeria-0.5.4.dist-info → pyegeria-0.5.5.1.dist-info}/WHEEL +0 -0
- {pyegeria-0.5.4.dist-info → pyegeria-0.5.5.1.dist-info}/entry_points.txt +0 -0
@@ -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
|
130
|
-
|
131
|
-
|
132
|
-
|
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"
|
@@ -1147,3 +1147,11 @@ class FullServerConfig(CoreServerConfig):
|
|
1147
1147
|
url = f"{self.admin_command_root}/servers/{server_name}/integration-services/configuration"
|
1148
1148
|
response = self.make_request("GET", url)
|
1149
1149
|
return response.json().get("services", "No configuration found")
|
1150
|
+
|
1151
|
+
def set_lineage_warehouse_services(self, body: dict, lineage_server: str) -> None:
|
1152
|
+
url = f"{self.admin_command_root}/servers/{lineage_server}/lineage-warehouse/configuration"
|
1153
|
+
self.make_request("POST", url, body)
|
1154
|
+
|
1155
|
+
def remove_lineage_warehouse_services(self, lineage_server: str = None) -> None:
|
1156
|
+
url = f"{self.admin_command_root}/servers/{lineage_server}/lineage-warehouse/configuration"
|
1157
|
+
self.make_request("DELETE", url)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyegeria
|
3
|
-
Version: 0.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
|
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
17
17
|
Requires-Dist: confluent-kafka (>=2.5.0,<3.0.0)
|
18
18
|
Requires-Dist: httpx (>=0.27.0,<0.28.0)
|
19
|
+
Requires-Dist: jupyter (>=1.0.0,<2.0.0)
|
19
20
|
Requires-Dist: pytest (>=8.2.2,<9.0.0)
|
20
21
|
Requires-Dist: requests (>=2.32.3,<3.0.0)
|
21
22
|
Requires-Dist: rich (>=13.7.1,<14.0.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=
|
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
|
@@ -49,7 +49,7 @@ pyegeria/automated_curation_omvs.py,sha256=XPi0vO8hZTzx_qZ5yZ2FrJH28q3A2i0yByJ0h
|
|
49
49
|
pyegeria/collection_manager_omvs.py,sha256=IyGCbqx2Blm0OwCsC2071EeoNWHXyWGl_6pEtacizAs,112642
|
50
50
|
pyegeria/core_guids.py,sha256=Cv5L3V_IzjHAw6ttGRlNXcrOgKdZdEbhCB1XaOZYYYE,4237
|
51
51
|
pyegeria/core_omag_server_config.py,sha256=16ld7aBTgO3gGhvFs-_yzwqPsatdCAiKYi005_2evZU,93096
|
52
|
-
pyegeria/full_omag_server_config.py,sha256=
|
52
|
+
pyegeria/full_omag_server_config.py,sha256=l4G0oM6l-axosYACypqNqzkF6wELzs9FgKJwvDMF0Fc,45817
|
53
53
|
pyegeria/glossary_browser_omvs.py,sha256=nUCDSQ8cw8vuYgjfcaj1zLIefVI5j51evxPyXCIc4X8,101716
|
54
54
|
pyegeria/glossary_manager_omvs.py,sha256=AyTNBeOwa7ISOkpjzHHEtpiFzFo0ykcEQ525h_wqfMM,133328
|
55
55
|
pyegeria/my_profile_omvs.py,sha256=w-3aL9s7VlonUGtdKgfMSCeYIbCtJn0zDLTuqUxAYFc,42265
|
@@ -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.
|
64
|
-
pyegeria-0.5.
|
65
|
-
pyegeria-0.5.
|
66
|
-
pyegeria-0.5.
|
67
|
-
pyegeria-0.5.
|
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,,
|
File without changes
|
File without changes
|
File without changes
|