pyegeria 1.5.1.1.47__py3-none-any.whl → 1.5.1.1.49__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 +1 -24
- 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/CleanShot 2024-11-07 at 03.51.57@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/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.51.57.png +0 -0
- {pyegeria-1.5.1.1.47.dist-info → pyegeria-1.5.1.1.49.dist-info}/METADATA +1 -1
- {pyegeria-1.5.1.1.47.dist-info → pyegeria-1.5.1.1.49.dist-info}/RECORD +12 -6
- {pyegeria-1.5.1.1.47.dist-info → pyegeria-1.5.1.1.49.dist-info}/LICENSE +0 -0
- {pyegeria-1.5.1.1.47.dist-info → pyegeria-1.5.1.1.49.dist-info}/WHEEL +0 -0
- {pyegeria-1.5.1.1.47.dist-info → pyegeria-1.5.1.1.49.dist-info}/entry_points.txt +0 -0
@@ -248,6 +248,7 @@ 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.strip()
|
251
252
|
term_info = m_client.get_terms_by_guid(term_guid)
|
252
253
|
|
253
254
|
m_client.delete_term(term_guid)
|
@@ -336,27 +337,3 @@ def export_terms(glossary_guid, file_name, server, url, userid, password, timeou
|
|
336
337
|
print_exception_response(e)
|
337
338
|
finally:
|
338
339
|
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
|
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=Cm1PWHI6ZDVj09E2DC33mHgMrdgjFMSTw0whMk63_Wc,12256
|
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,9 @@ 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
|
50
|
+
pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.51.57@2x.png,sha256=b24c91t7YQA-Z0Msz2Iypct0oAXX3fdsaukoB6bQ0JU,356325
|
48
51
|
pyegeria/commands/doc/glossary/basic-glossary-tui.md,sha256=BUHIpjZKvimF67Fgu3KOD_5d0Kzjcv0oU1_0_rghcoo,3262
|
49
52
|
pyegeria/commands/doc/glossary/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png,sha256=rppVqEwN1ZrSMzyXnsYqDl7fnPs0zTlE7PMmX4VUbQI,203332
|
50
53
|
pyegeria/commands/doc/glossary/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png,sha256=tV0h6i1eRAbvAzye8iuWt0eJ14y1Crk9DovaJLGJCSA,299425
|
@@ -65,6 +68,9 @@ pyegeria/commands/doc/glossary/shell_list_glossaries 2024-11-05 at 19.21.50@2x.p
|
|
65
68
|
pyegeria/commands/doc/glossary/tui-create-glossary 2024-11-05 at 19.18.19@2x.png,sha256=Dp9wktuIQDsMCHqd2DYXh0bxER_bKCSmKG58aXcLU70,327718
|
66
69
|
pyegeria/commands/doc/glossary/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png,sha256=TSSCkj7VkRQpaeyH7JiYbGJISPXmidmYZTN7rVpfdik,321074
|
67
70
|
pyegeria/commands/doc/glossary/tui-create-term 2024-11-06 at 20.46.35.png,sha256=IyfiLC543yzV2iNQZUXmwmXLotG9YgyH5MnyzderD2U,350348
|
71
|
+
pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.29.18@2x.png,sha256=wn7cQuE3tBBFsdCXXGhEhu1GuzjeE1HobQ0z9MaHmSU,348815
|
72
|
+
pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.34.41.png,sha256=AaKUC_rg3XYjh7l9W8jz5DGynR93zr6kY5oRpKbAQQY,363502
|
73
|
+
pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.51.57.png,sha256=Ujq62Q8L21CJF_Qct9-IPqhD-XFJEk0vorIhC584LrM,356348
|
68
74
|
pyegeria/commands/doc/glossary/tui-display-terms-for-example 2024-11-06 at 20.56.49.png,sha256=XWu-313nOY0Q7bGSX1ZXFFj8HVarrIUhBrvJx5fvm5g,377005
|
69
75
|
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
76
|
pyegeria/commands/doc/glossary/tui-export-glossary 2024-11-06 at 21.02.16.png,sha256=SkGbxI8-XdGNxXMTMcklvCoYlLyll5MLZuNpM6AGzys,372264
|
@@ -142,8 +148,8 @@ pyegeria/template_manager_omvs.py,sha256=heqbKeum5hPCHap4r1RUZU8YB3QaQlxVNbq4GZi
|
|
142
148
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
143
149
|
pyegeria/valid_metadata_omvs.py,sha256=tfCGXed5LLt59YA8uZNNtd9UJ-lRZfPU_uZxK31Yux0,65069
|
144
150
|
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.
|
151
|
+
pyegeria-1.5.1.1.49.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
152
|
+
pyegeria-1.5.1.1.49.dist-info/METADATA,sha256=JynqvBn_P32UOkrHXCX7UXdGCahfZh1hbZOqX8gCGCE,2998
|
153
|
+
pyegeria-1.5.1.1.49.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
154
|
+
pyegeria-1.5.1.1.49.dist-info/entry_points.txt,sha256=GDsJt24awMzNAbVAWdMoeZTQb5oMcMCqjvIAemqOwVQ,5105
|
155
|
+
pyegeria-1.5.1.1.49.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|