pyegeria 1.5.1.0.6__py3-none-any.whl → 1.5.1.0.8__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.
- commands/cat/list_deployed_catalogs.py +5 -1
- commands/cat/list_deployed_database_schemas.py +14 -14
- commands/cat/list_deployed_databases.py +1 -1
- pyegeria/asset_catalog_omvs.py +3 -1
- pyegeria/automated_curation_omvs.py +1 -1
- {pyegeria-1.5.1.0.6.dist-info → pyegeria-1.5.1.0.8.dist-info}/METADATA +1 -1
- {pyegeria-1.5.1.0.6.dist-info → pyegeria-1.5.1.0.8.dist-info}/RECORD +10 -10
- {pyegeria-1.5.1.0.6.dist-info → pyegeria-1.5.1.0.8.dist-info}/LICENSE +0 -0
- {pyegeria-1.5.1.0.6.dist-info → pyegeria-1.5.1.0.8.dist-info}/WHEEL +0 -0
- {pyegeria-1.5.1.0.6.dist-info → pyegeria-1.5.1.0.8.dist-info}/entry_points.txt +0 -0
@@ -114,12 +114,16 @@ def list_deployed_catalogs(
|
|
114
114
|
)
|
115
115
|
schemas_md = ""
|
116
116
|
if type(schemas) is list:
|
117
|
+
cnt = 0
|
117
118
|
for schema in schemas:
|
118
119
|
schema_md = ""
|
119
120
|
schema_props = schema["properties"]
|
120
121
|
for key in schema_props.keys():
|
121
122
|
schema_md += f"* **{key}**: {schema_props[key]}\n"
|
122
|
-
|
123
|
+
|
124
|
+
spacer = "---\n" if cnt > 0 else ""
|
125
|
+
cnt += 1
|
126
|
+
schemas_md += f"{spacer}{schema_md}"
|
123
127
|
schemas_md_out = Markdown(schemas_md)
|
124
128
|
|
125
129
|
element_info = c_client.get_element_by_guid(server_guid)
|
@@ -137,29 +137,29 @@ def list_deployed_database_schemas(
|
|
137
137
|
el_props_md += f"* **{prop}**: {element['properties'][prop]}\n"
|
138
138
|
el_props_out = Markdown(el_props_md)
|
139
139
|
|
140
|
-
rel_elements = c_client.
|
141
|
-
el_guid, "
|
140
|
+
rel_elements = c_client.get_elements_by_property_value(
|
141
|
+
el_guid, ["anchorGUID"]
|
142
142
|
)
|
143
143
|
schema_md = ""
|
144
144
|
count = 0
|
145
145
|
rel_el_out = ""
|
146
146
|
if type(rel_elements) is list:
|
147
|
-
|
147
|
+
len_els = len(rel_elements)
|
148
|
+
rel_el_md = ""
|
149
|
+
spacer = ""
|
148
150
|
for rel_element in rel_elements:
|
149
151
|
count += 1
|
150
|
-
rel_type = rel_element["
|
151
|
-
|
152
|
-
|
153
|
-
rel_guid = rel_element["relatedElement"]["elementHeader"][
|
154
|
-
"guid"
|
155
|
-
]
|
156
|
-
rel_props = rel_element["relatedElement"]["properties"]
|
152
|
+
rel_type = rel_element["elementHeader"]["type"]["typeName"]
|
153
|
+
rel_guid = rel_element["elementHeader"]["guid"]
|
154
|
+
rel_props = rel_element["properties"]
|
157
155
|
props_md = ""
|
158
156
|
for key in rel_props.keys():
|
159
|
-
props_md += f"* **{key}**: {rel_props[key]}\n"
|
160
|
-
rel_el_md = f"* **{rel_type}
|
161
|
-
if count > 1:
|
162
|
-
|
157
|
+
props_md += f"\t* **{key}**: {rel_props[key]}\n"
|
158
|
+
rel_el_md = f"{rel_el_md}\n* **{rel_type}**:\n\t{rel_guid}\n{props_md}{spacer}"
|
159
|
+
if count > 1 and count < len_els:
|
160
|
+
spacer = "---\n"
|
161
|
+
elif count > len_els:
|
162
|
+
spacer = ""
|
163
163
|
rel_el_out = Markdown(rel_el_md)
|
164
164
|
|
165
165
|
table.add_row(
|
@@ -125,7 +125,7 @@ def list_deployed_databases(
|
|
125
125
|
for key in rel_props.keys():
|
126
126
|
props_md += f"* **{key}**: {rel_props[key]}\n"
|
127
127
|
rel_el_md = f"* **{rel_type}**: {rel_guid}\n{props_md}"
|
128
|
-
if count
|
128
|
+
if count >= 1:
|
129
129
|
rel_el_md += "---\n"
|
130
130
|
rel_el_out = Markdown(rel_el_md)
|
131
131
|
|
pyegeria/asset_catalog_omvs.py
CHANGED
@@ -312,7 +312,9 @@ class AssetCatalog(Client):
|
|
312
312
|
ignore_case: bool = True,
|
313
313
|
time_out: int = 60,
|
314
314
|
) -> list | str:
|
315
|
-
"""
|
315
|
+
"""Locate string value in elements that are anchored to assets. Async Version.
|
316
|
+
Asset: https: // egeria - project.org / concepts / asset /
|
317
|
+
|
316
318
|
Parameters
|
317
319
|
----------
|
318
320
|
search_string : str
|
@@ -2439,7 +2439,7 @@ class AutomatedCuration(Client):
|
|
2439
2439
|
|
2440
2440
|
body = {
|
2441
2441
|
"class": "InitiateGovernanceActionTypeRequestBody",
|
2442
|
-
"governanceActionTypeQualifiedName": "
|
2442
|
+
"governanceActionTypeQualifiedName": "PostgreSQLSurveys:survey-postgres-database",
|
2443
2443
|
"actionTargets": [
|
2444
2444
|
{
|
2445
2445
|
"class": "NewActionTarget",
|
@@ -10,9 +10,9 @@ commands/cat/glossary_actions.py,sha256=F5-NNiLvfHLbQKZ_RxS6XJ9HOAuXc75GMIAC5Xo0
|
|
10
10
|
commands/cat/list_archives.py,sha256=83LhNeZWhzRiE-oU6veuIk9ob4XDtDWUoXdGGXaYeE8,5454
|
11
11
|
commands/cat/list_assets.py,sha256=bNwSaBDz661hfnc2Rn4j4HPHAugKvz0XwN9L1m4FVQk,6529
|
12
12
|
commands/cat/list_cert_types.py,sha256=mbCls_EqC5JKG5rvS4o69k7KgZ6aNXlcqoJ3DtHsTFA,7127
|
13
|
-
commands/cat/list_deployed_catalogs.py,sha256=
|
14
|
-
commands/cat/list_deployed_database_schemas.py,sha256=
|
15
|
-
commands/cat/list_deployed_databases.py,sha256=
|
13
|
+
commands/cat/list_deployed_catalogs.py,sha256=iMgJ_NEn1fLrUFMTnD752g-g5FAuwUtsD6o1uBnOYIo,6957
|
14
|
+
commands/cat/list_deployed_database_schemas.py,sha256=Bgu4yUip6KZN74q8uVEZJjIvl_DvNkCL0oG8Q9XYigI,8312
|
15
|
+
commands/cat/list_deployed_databases.py,sha256=qRt3-pDXRVm-bKznmYsisja4zA8KRT58-02Mvj8MjOc,6605
|
16
16
|
commands/cat/list_glossary.py,sha256=tUtQQoTGTlDLU-yFbfO3zjiJC9QyEJfg8NxnGCo2mnI,5811
|
17
17
|
commands/cat/list_projects.py,sha256=Jzs-DtIpPhCH-gY4PYT6mnRBWnEf4m18TFfcw8UymNU,8011
|
18
18
|
commands/cat/list_relationships.py,sha256=U9f78cOi4HyaacqNaFSMq_7rRxVcEczvwPv468GYw3Q,5869
|
@@ -76,8 +76,8 @@ pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8Md
|
|
76
76
|
pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
|
77
77
|
pyegeria/_globals.py,sha256=1Uc8392wjbiVN5L__RzxC1-U97RMXj77_iUsMSgeAjQ,638
|
78
78
|
pyegeria/_validators.py,sha256=rnZelHJnjHaLZ8UhUTDyB59MfIUJifhALtkYoHBaos4,12736
|
79
|
-
pyegeria/asset_catalog_omvs.py,sha256=
|
80
|
-
pyegeria/automated_curation_omvs.py,sha256=
|
79
|
+
pyegeria/asset_catalog_omvs.py,sha256=NUF9C3s_zs9pTfIZyRJlqMCKrhZASJPH08EXzzjki7g,21120
|
80
|
+
pyegeria/automated_curation_omvs.py,sha256=Wj9g3Vcx8VmbogxG_kusX38CUylq2r5ZM2sReqUQ-U4,136332
|
81
81
|
pyegeria/classification_manager_omvs.py,sha256=VEwvlaDQT12Dwq8Q4lMvYCWYeq0OsC2P0bfsHUdy0CA,180701
|
82
82
|
pyegeria/collection_manager_omvs.py,sha256=kye2kjthNnmwxMZhHQKV0xoHbxcNPWjNzRAYOItj_gY,99201
|
83
83
|
pyegeria/core_omag_server_config.py,sha256=EtHaPKyc9d6pwTgbnQqGwe5lSBMPIfJOlbJEa1zg1JA,94946
|
@@ -101,8 +101,8 @@ pyegeria/server_operations.py,sha256=ciH890hYT85YQ6OpByn4w7s3a7TtvWZpIG5rkRqbcI0
|
|
101
101
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
102
102
|
pyegeria/valid_metadata_omvs.py,sha256=tfCGXed5LLt59YA8uZNNtd9UJ-lRZfPU_uZxK31Yux0,65069
|
103
103
|
pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
|
104
|
-
pyegeria-1.5.1.0.
|
105
|
-
pyegeria-1.5.1.0.
|
106
|
-
pyegeria-1.5.1.0.
|
107
|
-
pyegeria-1.5.1.0.
|
108
|
-
pyegeria-1.5.1.0.
|
104
|
+
pyegeria-1.5.1.0.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
105
|
+
pyegeria-1.5.1.0.8.dist-info/METADATA,sha256=nzILP7w0hRi0UicwTi4tVLpTDNgNpASdfo8dCeuPfqM,2997
|
106
|
+
pyegeria-1.5.1.0.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
107
|
+
pyegeria-1.5.1.0.8.dist-info/entry_points.txt,sha256=Pc5kHnxv-vbRpwVMxSSWl66vmf7EZjgzf7nZzz1ow3M,4002
|
108
|
+
pyegeria-1.5.1.0.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|