pyegeria 1.5.1.1.16__py3-none-any.whl → 1.5.1.1.17__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 +9 -3
- pyegeria/commands/cat/list_terms.py +1 -1
- {pyegeria-1.5.1.1.16.dist-info → pyegeria-1.5.1.1.17.dist-info}/METADATA +1 -1
- {pyegeria-1.5.1.1.16.dist-info → pyegeria-1.5.1.1.17.dist-info}/RECORD +7 -7
- {pyegeria-1.5.1.1.16.dist-info → pyegeria-1.5.1.1.17.dist-info}/LICENSE +0 -0
- {pyegeria-1.5.1.1.16.dist-info → pyegeria-1.5.1.1.17.dist-info}/WHEEL +0 -0
- {pyegeria-1.5.1.1.16.dist-info → pyegeria-1.5.1.1.17.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,13 @@ 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
|
-
result = m_client.load_terms_from_file(glossary_name, file_name)
|
326
|
+
result = m_client.load_terms_from_file(glossary_name, file_name, upsert=upsert)
|
321
327
|
|
322
328
|
click.echo(
|
323
329
|
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")
|
@@ -20,7 +20,7 @@ pyegeria/commands/cat/get_project_dependencies.py,sha256=B0JaMSUi0hzVgos1sTY2uUP
|
|
20
20
|
pyegeria/commands/cat/get_project_structure.py,sha256=n2GbNd07w1DTo7jTR8b2ewXRyNcat_2BcCBRyDMldwk,5969
|
21
21
|
pyegeria/commands/cat/get_tech_type_elements.py,sha256=-m3Q0BoNqkCtV8h75vMwTcOV-_ymEXmnJcr4Ec7WMAw,6180
|
22
22
|
pyegeria/commands/cat/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
|
23
|
-
pyegeria/commands/cat/glossary_actions.py,sha256=
|
23
|
+
pyegeria/commands/cat/glossary_actions.py,sha256=UlVf4vsg9Lu8pSd2OXI61MNMqBMeDLCDqpf3zPVT9GY,13315
|
24
24
|
pyegeria/commands/cat/list_archives.py,sha256=FEZ2XYnQIWo2PztWqnj6unn0pbblPU0-bMbTyI3csv4,5464
|
25
25
|
pyegeria/commands/cat/list_assets.py,sha256=bNwSaBDz661hfnc2Rn4j4HPHAugKvz0XwN9L1m4FVQk,6529
|
26
26
|
pyegeria/commands/cat/list_cert_types.py,sha256=mbCls_EqC5JKG5rvS4o69k7KgZ6aNXlcqoJ3DtHsTFA,7127
|
@@ -30,7 +30,7 @@ pyegeria/commands/cat/list_deployed_databases.py,sha256=HE8nG-mIlxa9iSUEH-n71o-G
|
|
30
30
|
pyegeria/commands/cat/list_projects.py,sha256=Jzs-DtIpPhCH-gY4PYT6mnRBWnEf4m18TFfcw8UymNU,8011
|
31
31
|
pyegeria/commands/cat/list_relationships.py,sha256=U9f78cOi4HyaacqNaFSMq_7rRxVcEczvwPv468GYw3Q,5869
|
32
32
|
pyegeria/commands/cat/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
|
33
|
-
pyegeria/commands/cat/list_terms.py,sha256=
|
33
|
+
pyegeria/commands/cat/list_terms.py,sha256=Goa5z7y6lfzJNp_YW5r6A9GWKHFXIulzd8lipCSZjsc,6801
|
34
34
|
pyegeria/commands/cat/list_todos.py,sha256=iPxHRyW3X5tiREio4TUOwRPvNPjU0gxm3pVnUI79ir4,6542
|
35
35
|
pyegeria/commands/cat/list_user_ids.py,sha256=7JinL7rknPbGusIb8ikXKEaV1vvbuvx_WWtbmlfS_DY,5093
|
36
36
|
pyegeria/commands/cli/__init__.py,sha256=hpTVSMP2gnPRhcAZPdeUEsQ-eaDySlXlk239dNWYmng,292
|
@@ -107,8 +107,8 @@ pyegeria/template_manager_omvs.py,sha256=heqbKeum5hPCHap4r1RUZU8YB3QaQlxVNbq4GZi
|
|
107
107
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
108
108
|
pyegeria/valid_metadata_omvs.py,sha256=tfCGXed5LLt59YA8uZNNtd9UJ-lRZfPU_uZxK31Yux0,65069
|
109
109
|
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.
|
110
|
+
pyegeria-1.5.1.1.17.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
111
|
+
pyegeria-1.5.1.1.17.dist-info/METADATA,sha256=cmKLawOaDcMWaHjWPqTrjCaxJGzCWRoH_fU3XauAReU,2998
|
112
|
+
pyegeria-1.5.1.1.17.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
113
|
+
pyegeria-1.5.1.1.17.dist-info/entry_points.txt,sha256=49rVcJuuKXUSC-9ZNzr-ybsaUL-wm6xrUodCZeKJdGc,4898
|
114
|
+
pyegeria-1.5.1.1.17.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|