pyegeria 1.5.1.0.7__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_database_schemas.py +14 -14
- {pyegeria-1.5.1.0.7.dist-info → pyegeria-1.5.1.0.8.dist-info}/METADATA +1 -1
- {pyegeria-1.5.1.0.7.dist-info → pyegeria-1.5.1.0.8.dist-info}/RECORD +6 -6
- {pyegeria-1.5.1.0.7.dist-info → pyegeria-1.5.1.0.8.dist-info}/LICENSE +0 -0
- {pyegeria-1.5.1.0.7.dist-info → pyegeria-1.5.1.0.8.dist-info}/WHEEL +0 -0
- {pyegeria-1.5.1.0.7.dist-info → pyegeria-1.5.1.0.8.dist-info}/entry_points.txt +0 -0
@@ -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(
|
@@ -11,7 +11,7 @@ commands/cat/list_archives.py,sha256=83LhNeZWhzRiE-oU6veuIk9ob4XDtDWUoXdGGXaYeE8
|
|
11
11
|
commands/cat/list_assets.py,sha256=bNwSaBDz661hfnc2Rn4j4HPHAugKvz0XwN9L1m4FVQk,6529
|
12
12
|
commands/cat/list_cert_types.py,sha256=mbCls_EqC5JKG5rvS4o69k7KgZ6aNXlcqoJ3DtHsTFA,7127
|
13
13
|
commands/cat/list_deployed_catalogs.py,sha256=iMgJ_NEn1fLrUFMTnD752g-g5FAuwUtsD6o1uBnOYIo,6957
|
14
|
-
commands/cat/list_deployed_database_schemas.py,sha256=
|
14
|
+
commands/cat/list_deployed_database_schemas.py,sha256=Bgu4yUip6KZN74q8uVEZJjIvl_DvNkCL0oG8Q9XYigI,8312
|
15
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
|
@@ -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
|