pyegeria 1.5.1.1.47__py3-none-any.whl → 1.5.1.1.48__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.
- pyegeria/commands/cat/glossary_actions.py +4 -25
- pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.29.18@2x.png +0 -0
- pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.34.41@2x.png +0 -0
- pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.29.18@2x.png +0 -0
- pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.34.41.png +0 -0
- {pyegeria-1.5.1.1.47.dist-info → pyegeria-1.5.1.1.48.dist-info}/METADATA +1 -1
- {pyegeria-1.5.1.1.47.dist-info → pyegeria-1.5.1.1.48.dist-info}/RECORD +10 -6
- {pyegeria-1.5.1.1.47.dist-info → pyegeria-1.5.1.1.48.dist-info}/LICENSE +0 -0
- {pyegeria-1.5.1.1.47.dist-info → pyegeria-1.5.1.1.48.dist-info}/WHEEL +0 -0
- {pyegeria-1.5.1.1.47.dist-info → pyegeria-1.5.1.1.48.dist-info}/entry_points.txt +0 -0
@@ -248,8 +248,11 @@ def delete_term(server, url, userid, password, timeout, term_guid):
|
|
248
248
|
m_client = EgeriaTech(server, url, user_id=userid, user_pwd=password)
|
249
249
|
token = m_client.create_egeria_bearer_token()
|
250
250
|
try:
|
251
|
+
term_guid = term_guid.trim()
|
251
252
|
term_info = m_client.get_terms_by_guid(term_guid)
|
252
|
-
|
253
|
+
click.echo(
|
254
|
+
f"Found term with GUID: {term_guid} and Display Name: {term_info['glossaryTermProperties']['displayName']}"
|
255
|
+
)
|
253
256
|
m_client.delete_term(term_guid)
|
254
257
|
|
255
258
|
click.echo(
|
@@ -336,27 +339,3 @@ def export_terms(glossary_guid, file_name, server, url, userid, password, timeou
|
|
336
339
|
print_exception_response(e)
|
337
340
|
finally:
|
338
341
|
m_client.close_session()
|
339
|
-
|
340
|
-
|
341
|
-
@click.command("delete-term")
|
342
|
-
@click.option("--term-guid", help="Unique identity of term", required=True)
|
343
|
-
@click.option("--server", default=EGERIA_VIEW_SERVER, help="Egeria view server to use")
|
344
|
-
@click.option(
|
345
|
-
"--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
|
346
|
-
)
|
347
|
-
@click.option("--userid", default=EGERIA_USER, help="Egeria user")
|
348
|
-
@click.option("--password", default=EGERIA_USER_PASSWORD, help="Egeria user password")
|
349
|
-
@click.option("--timeout", default=60, help="Number of seconds to wait")
|
350
|
-
def delete_term(term_guid, server, url, userid, password, timeout):
|
351
|
-
"""Delete the Term specified"""
|
352
|
-
m_client = EgeriaTech(server, url, user_id=userid, user_pwd=password)
|
353
|
-
token = m_client.create_egeria_bearer_token()
|
354
|
-
try:
|
355
|
-
m_client.delete_term(term_guid)
|
356
|
-
|
357
|
-
click.echo(f"Deleted term: {term_guid}")
|
358
|
-
|
359
|
-
except (InvalidParameterException, PropertyServerException) as e:
|
360
|
-
print_exception_response(e)
|
361
|
-
finally:
|
362
|
-
m_client.close_session()
|
Binary file
|
Binary file
|
@@ -19,7 +19,7 @@ pyegeria/commands/cat/get_project_dependencies.py,sha256=B0JaMSUi0hzVgos1sTY2uUP
|
|
19
19
|
pyegeria/commands/cat/get_project_structure.py,sha256=n2GbNd07w1DTo7jTR8b2ewXRyNcat_2BcCBRyDMldwk,5969
|
20
20
|
pyegeria/commands/cat/get_tech_type_elements.py,sha256=-m3Q0BoNqkCtV8h75vMwTcOV-_ymEXmnJcr4Ec7WMAw,6180
|
21
21
|
pyegeria/commands/cat/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
|
22
|
-
pyegeria/commands/cat/glossary_actions.py,sha256=
|
22
|
+
pyegeria/commands/cat/glossary_actions.py,sha256=2WmFmRiBj7QvoUeoYrmx825iTg4n_b4Hk7h7zZfY6Yg,12404
|
23
23
|
pyegeria/commands/cat/list_archives.py,sha256=FEZ2XYnQIWo2PztWqnj6unn0pbblPU0-bMbTyI3csv4,5464
|
24
24
|
pyegeria/commands/cat/list_assets.py,sha256=bNwSaBDz661hfnc2Rn4j4HPHAugKvz0XwN9L1m4FVQk,6529
|
25
25
|
pyegeria/commands/cat/list_cert_types.py,sha256=mbCls_EqC5JKG5rvS4o69k7KgZ6aNXlcqoJ3DtHsTFA,7127
|
@@ -45,6 +45,8 @@ pyegeria/commands/doc/command-overview.md,sha256=tnefqWz88GUMRi0TpcE5KAmeMCpvdSF
|
|
45
45
|
pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.02.16@2x.png,sha256=iOTLyTckqy09NA-dwtiUbqhAEZmCdsaaGgMSEUDeBW8,372241
|
46
46
|
pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.03.24@2x.png,sha256=VFuHwNd2JQtVYkn23Zf4_i3G1O2mTsywoZQJib3tV3s,28738
|
47
47
|
pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.06.32@2x.png,sha256=XJT-1ol1CquY-tzzFVagfzGKHHr7a-YSeaD2c2hNsmo,67912
|
48
|
+
pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.29.18@2x.png,sha256=m-KHs0jY1VWc-xbfsSwaWIKSLwnLHIE4F4C8zILEVRY,348792
|
49
|
+
pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.34.41@2x.png,sha256=AaKUC_rg3XYjh7l9W8jz5DGynR93zr6kY5oRpKbAQQY,363502
|
48
50
|
pyegeria/commands/doc/glossary/basic-glossary-tui.md,sha256=BUHIpjZKvimF67Fgu3KOD_5d0Kzjcv0oU1_0_rghcoo,3262
|
49
51
|
pyegeria/commands/doc/glossary/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png,sha256=rppVqEwN1ZrSMzyXnsYqDl7fnPs0zTlE7PMmX4VUbQI,203332
|
50
52
|
pyegeria/commands/doc/glossary/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png,sha256=tV0h6i1eRAbvAzye8iuWt0eJ14y1Crk9DovaJLGJCSA,299425
|
@@ -65,6 +67,8 @@ pyegeria/commands/doc/glossary/shell_list_glossaries 2024-11-05 at 19.21.50@2x.p
|
|
65
67
|
pyegeria/commands/doc/glossary/tui-create-glossary 2024-11-05 at 19.18.19@2x.png,sha256=Dp9wktuIQDsMCHqd2DYXh0bxER_bKCSmKG58aXcLU70,327718
|
66
68
|
pyegeria/commands/doc/glossary/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png,sha256=TSSCkj7VkRQpaeyH7JiYbGJISPXmidmYZTN7rVpfdik,321074
|
67
69
|
pyegeria/commands/doc/glossary/tui-create-term 2024-11-06 at 20.46.35.png,sha256=IyfiLC543yzV2iNQZUXmwmXLotG9YgyH5MnyzderD2U,350348
|
70
|
+
pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.29.18@2x.png,sha256=wn7cQuE3tBBFsdCXXGhEhu1GuzjeE1HobQ0z9MaHmSU,348815
|
71
|
+
pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.34.41.png,sha256=AaKUC_rg3XYjh7l9W8jz5DGynR93zr6kY5oRpKbAQQY,363502
|
68
72
|
pyegeria/commands/doc/glossary/tui-display-terms-for-example 2024-11-06 at 20.56.49.png,sha256=XWu-313nOY0Q7bGSX1ZXFFj8HVarrIUhBrvJx5fvm5g,377005
|
69
73
|
pyegeria/commands/doc/glossary/tui-display-terms-for-glossary 2024-11-06 at 20.49.51.png,sha256=qnTfhfDSlMX9nQdCark_zkMUEPOxLd-R_nBnA-A03Ak,376131
|
70
74
|
pyegeria/commands/doc/glossary/tui-export-glossary 2024-11-06 at 21.02.16.png,sha256=SkGbxI8-XdGNxXMTMcklvCoYlLyll5MLZuNpM6AGzys,372264
|
@@ -142,8 +146,8 @@ pyegeria/template_manager_omvs.py,sha256=heqbKeum5hPCHap4r1RUZU8YB3QaQlxVNbq4GZi
|
|
142
146
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
143
147
|
pyegeria/valid_metadata_omvs.py,sha256=tfCGXed5LLt59YA8uZNNtd9UJ-lRZfPU_uZxK31Yux0,65069
|
144
148
|
pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
|
145
|
-
pyegeria-1.5.1.1.
|
146
|
-
pyegeria-1.5.1.1.
|
147
|
-
pyegeria-1.5.1.1.
|
148
|
-
pyegeria-1.5.1.1.
|
149
|
-
pyegeria-1.5.1.1.
|
149
|
+
pyegeria-1.5.1.1.48.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
150
|
+
pyegeria-1.5.1.1.48.dist-info/METADATA,sha256=63QSEuFbqf-7TBm1G0aJH7WmgBo8FKDMq9yoqXrtKho,2998
|
151
|
+
pyegeria-1.5.1.1.48.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
152
|
+
pyegeria-1.5.1.1.48.dist-info/entry_points.txt,sha256=GDsJt24awMzNAbVAWdMoeZTQb5oMcMCqjvIAemqOwVQ,5105
|
153
|
+
pyegeria-1.5.1.1.48.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|