pyegeria 1.5.1.1.16__py3-none-any.whl → 1.5.1.1.18__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 +15 -3
- pyegeria/commands/cat/list_terms.py +1 -1
- {pyegeria-1.5.1.1.16.dist-info → pyegeria-1.5.1.1.18.dist-info}/METADATA +1 -1
- {pyegeria-1.5.1.1.16.dist-info → pyegeria-1.5.1.1.18.dist-info}/RECORD +7 -8
- pyegeria/commands/.DS_Store +0 -0
- {pyegeria-1.5.1.1.16.dist-info → pyegeria-1.5.1.1.18.dist-info}/LICENSE +0 -0
- {pyegeria-1.5.1.1.16.dist-info → pyegeria-1.5.1.1.18.dist-info}/WHEEL +0 -0
- {pyegeria-1.5.1.1.16.dist-info → pyegeria-1.5.1.1.18.dist-info}/entry_points.txt +0 -0
@@ -145,7 +145,7 @@ def list_glossaries(
|
|
145
145
|
expand=True,
|
146
146
|
)
|
147
147
|
table.add_column("Glossary Name")
|
148
|
-
table.add_column("Qualified Name / GUID")
|
148
|
+
table.add_column("Qualified Name / GUID", width=38, no_wrap=True)
|
149
149
|
table.add_column("Language")
|
150
150
|
table.add_column("Description")
|
151
151
|
table.add_column("Usage")
|
@@ -303,6 +303,12 @@ def create_term(
|
|
303
303
|
default=False,
|
304
304
|
help="If set, result descriptions are provided",
|
305
305
|
)
|
306
|
+
@click.option(
|
307
|
+
"--upsert",
|
308
|
+
is_flag=True,
|
309
|
+
default=True,
|
310
|
+
help="If set, terms will be updated if they exist; otherwise they would be appended",
|
311
|
+
)
|
306
312
|
@click.option("--server", default=EGERIA_VIEW_SERVER, help="Egeria view server to use")
|
307
313
|
@click.option(
|
308
314
|
"--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
|
@@ -311,13 +317,19 @@ def create_term(
|
|
311
317
|
@click.option("--password", default=EGERIA_USER_PASSWORD, help="Egeria user password")
|
312
318
|
@click.option("--timeout", default=60, help="Number of seconds to wait")
|
313
319
|
def load_terms(
|
314
|
-
glossary_name, file_name, verbose, server, url, userid, password, timeout
|
320
|
+
glossary_name, file_name, verbose, upsert, server, url, userid, password, timeout
|
315
321
|
):
|
316
322
|
"""Delete the glossary specified"""
|
317
323
|
m_client = EgeriaTech(server, url, user_id=userid, user_pwd=password)
|
318
324
|
token = m_client.create_egeria_bearer_token()
|
319
325
|
try:
|
320
|
-
|
326
|
+
if os.path.exists(file_name):
|
327
|
+
print(f"Found file at: {file_name}\n")
|
328
|
+
else:
|
329
|
+
print(f"File not found at: {file_name}\n")
|
330
|
+
sys.exit(0)
|
331
|
+
|
332
|
+
result = m_client.load_terms_from_file(glossary_name, file_name, upsert=upsert)
|
321
333
|
|
322
334
|
click.echo(
|
323
335
|
f"Loaded terms from into glossary: {glossary_name} from {file_name}"
|
@@ -72,7 +72,7 @@ def display_glossary_terms(
|
|
72
72
|
expand=True,
|
73
73
|
)
|
74
74
|
table.add_column("Term Name")
|
75
|
-
table.add_column("Qualified Name / GUID")
|
75
|
+
table.add_column("Qualified Name / GUID", width=38, no_wrap=True)
|
76
76
|
table.add_column("Abbreviation")
|
77
77
|
table.add_column("Summary")
|
78
78
|
table.add_column("Description")
|
@@ -9,7 +9,6 @@ pyegeria/asset_catalog_omvs.py,sha256=NUF9C3s_zs9pTfIZyRJlqMCKrhZASJPH08EXzzjki7
|
|
9
9
|
pyegeria/automated_curation_omvs.py,sha256=BwNuF7XQJAV-POvzaWwFh0TS5yRnHZZPhlayvtIMlwY,130243
|
10
10
|
pyegeria/classification_manager_omvs.py,sha256=3yInuRy7Cf43oSFZ8BuzcIgtGSm5BfvlKYqtWKRMlPU,186678
|
11
11
|
pyegeria/collection_manager_omvs.py,sha256=kye2kjthNnmwxMZhHQKV0xoHbxcNPWjNzRAYOItj_gY,99201
|
12
|
-
pyegeria/commands/.DS_Store,sha256=nBgW7MKJ6b4wSWyEEeGYHWwC8QJAiteQaWKM9PoNRzY,6148
|
13
12
|
pyegeria/commands/README.md,sha256=zNfWZppDxoKqTJeRtcewzku9z1m6_hKacCyQUQw1iq4,1974
|
14
13
|
pyegeria/commands/__init__.py,sha256=7y3p5oQ2c0C1465oIgSA_123W1uo7Wqwk91LXccUgrw,17
|
15
14
|
pyegeria/commands/cat/README.md,sha256=-aaAnIT2fcfU63vajgB-RzQk4l4yFdhkyVfSaTPiqRY,967
|
@@ -20,7 +19,7 @@ pyegeria/commands/cat/get_project_dependencies.py,sha256=B0JaMSUi0hzVgos1sTY2uUP
|
|
20
19
|
pyegeria/commands/cat/get_project_structure.py,sha256=n2GbNd07w1DTo7jTR8b2ewXRyNcat_2BcCBRyDMldwk,5969
|
21
20
|
pyegeria/commands/cat/get_tech_type_elements.py,sha256=-m3Q0BoNqkCtV8h75vMwTcOV-_ymEXmnJcr4Ec7WMAw,6180
|
22
21
|
pyegeria/commands/cat/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
|
23
|
-
pyegeria/commands/cat/glossary_actions.py,sha256=
|
22
|
+
pyegeria/commands/cat/glossary_actions.py,sha256=_0iC1ss_fNGG1DYE5MV7wVUn07wMEDklVJ-nMU-DO6A,13498
|
24
23
|
pyegeria/commands/cat/list_archives.py,sha256=FEZ2XYnQIWo2PztWqnj6unn0pbblPU0-bMbTyI3csv4,5464
|
25
24
|
pyegeria/commands/cat/list_assets.py,sha256=bNwSaBDz661hfnc2Rn4j4HPHAugKvz0XwN9L1m4FVQk,6529
|
26
25
|
pyegeria/commands/cat/list_cert_types.py,sha256=mbCls_EqC5JKG5rvS4o69k7KgZ6aNXlcqoJ3DtHsTFA,7127
|
@@ -30,7 +29,7 @@ pyegeria/commands/cat/list_deployed_databases.py,sha256=HE8nG-mIlxa9iSUEH-n71o-G
|
|
30
29
|
pyegeria/commands/cat/list_projects.py,sha256=Jzs-DtIpPhCH-gY4PYT6mnRBWnEf4m18TFfcw8UymNU,8011
|
31
30
|
pyegeria/commands/cat/list_relationships.py,sha256=U9f78cOi4HyaacqNaFSMq_7rRxVcEczvwPv468GYw3Q,5869
|
32
31
|
pyegeria/commands/cat/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
|
33
|
-
pyegeria/commands/cat/list_terms.py,sha256=
|
32
|
+
pyegeria/commands/cat/list_terms.py,sha256=Goa5z7y6lfzJNp_YW5r6A9GWKHFXIulzd8lipCSZjsc,6801
|
34
33
|
pyegeria/commands/cat/list_todos.py,sha256=iPxHRyW3X5tiREio4TUOwRPvNPjU0gxm3pVnUI79ir4,6542
|
35
34
|
pyegeria/commands/cat/list_user_ids.py,sha256=7JinL7rknPbGusIb8ikXKEaV1vvbuvx_WWtbmlfS_DY,5093
|
36
35
|
pyegeria/commands/cli/__init__.py,sha256=hpTVSMP2gnPRhcAZPdeUEsQ-eaDySlXlk239dNWYmng,292
|
@@ -107,8 +106,8 @@ pyegeria/template_manager_omvs.py,sha256=heqbKeum5hPCHap4r1RUZU8YB3QaQlxVNbq4GZi
|
|
107
106
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
108
107
|
pyegeria/valid_metadata_omvs.py,sha256=tfCGXed5LLt59YA8uZNNtd9UJ-lRZfPU_uZxK31Yux0,65069
|
109
108
|
pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
|
110
|
-
pyegeria-1.5.1.1.
|
111
|
-
pyegeria-1.5.1.1.
|
112
|
-
pyegeria-1.5.1.1.
|
113
|
-
pyegeria-1.5.1.1.
|
114
|
-
pyegeria-1.5.1.1.
|
109
|
+
pyegeria-1.5.1.1.18.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
110
|
+
pyegeria-1.5.1.1.18.dist-info/METADATA,sha256=5Lc8p2HXv42jgVgzL_M1NuVlNw1vDXdIsAkPXraQkMI,2998
|
111
|
+
pyegeria-1.5.1.1.18.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
112
|
+
pyegeria-1.5.1.1.18.dist-info/entry_points.txt,sha256=49rVcJuuKXUSC-9ZNzr-ybsaUL-wm6xrUodCZeKJdGc,4898
|
113
|
+
pyegeria-1.5.1.1.18.dist-info/RECORD,,
|
pyegeria/commands/.DS_Store
DELETED
Binary file
|
File without changes
|
File without changes
|
File without changes
|