pyegeria 1.5.1.1.8__py3-none-any.whl → 1.5.1.1.9__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.
@@ -299,9 +299,9 @@ def create_term(
299
299
  @click.option("--file-name", help="Path of CSV file", required=True)
300
300
  @click.option(
301
301
  "--verbose",
302
- type=bool,
302
+ is_flag=True,
303
303
  default=False,
304
- help="If true, result descriptions are provided",
304
+ help="If set, result descriptions are provided",
305
305
  )
306
306
  @click.option("--server", default=EGERIA_VIEW_SERVER, help="Egeria view server to use")
307
307
  @click.option(
@@ -72,11 +72,13 @@ def display_glossary_terms(
72
72
  expand=True,
73
73
  )
74
74
  table.add_column("Term Name")
75
- table.add_column("Qualified Name")
76
-
75
+ table.add_column("Qualified Name / GUID")
76
+ table.add_column("Glossary")
77
77
  table.add_column("Abbreviation")
78
78
  table.add_column("Summary")
79
79
  table.add_column("Description")
80
+ table.add_column("Version Id")
81
+ # table.add_column("Status")
80
82
 
81
83
  terms = g_client.find_glossary_terms(
82
84
  search_string,
@@ -103,17 +105,27 @@ def display_glossary_terms(
103
105
  return table
104
106
 
105
107
  display_name = Text(props["displayName"], style=style)
106
- qualified_name = Text(props["qualifiedName"], style=style)
108
+ qualified_name = props["qualifiedName"]
109
+ term_guid = term["elementHeader"]["guid"]
110
+ q_name = Text(f"{qualified_name}\n\t\t\t&\n{term_guid}", style=style)
107
111
  abbrev = Text(props.get("abbreviation", " "), style=style)
108
112
  summary = Text(props.get("summary", " "), style=style)
109
113
  description = Text(props.get("description", " "), style=style)
114
+ version = Text(props.get("publishVersionIdentifier", " "), style=style)
115
+
116
+ glossary_info = g_client.get_glossary_for_term(term_guid)
117
+
118
+ glossary_name = glossary_info["glossaryProperties"].get("displayName", " ")
110
119
 
111
120
  table.add_row(
112
121
  display_name,
113
- qualified_name,
122
+ q_name,
123
+ glossary_name,
114
124
  abbrev,
115
125
  summary,
116
126
  description,
127
+ version,
128
+ # status,
117
129
  style="bold white on black",
118
130
  )
119
131
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 1.5.1.1.8
3
+ Version: 1.5.1.1.9
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -6,7 +6,7 @@ commands/cat/get_project_dependencies.py,sha256=B0JaMSUi0hzVgos1sTY2uUPGy1DzKEJM
6
6
  commands/cat/get_project_structure.py,sha256=n2GbNd07w1DTo7jTR8b2ewXRyNcat_2BcCBRyDMldwk,5969
7
7
  commands/cat/get_tech_type_elements.py,sha256=-m3Q0BoNqkCtV8h75vMwTcOV-_ymEXmnJcr4Ec7WMAw,6180
8
8
  commands/cat/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
9
- commands/cat/glossary_actions.py,sha256=5XYggVpMWO5cpY9VzauFlhGzwgSpbPekAQp-Xl5r3ow,11889
9
+ commands/cat/glossary_actions.py,sha256=wj6kooUTm8aZkfoVkFXlSM90awhniGgCdZxiSMq1axo,11891
10
10
  commands/cat/list_archives.py,sha256=FEZ2XYnQIWo2PztWqnj6unn0pbblPU0-bMbTyI3csv4,5464
11
11
  commands/cat/list_assets.py,sha256=bNwSaBDz661hfnc2Rn4j4HPHAugKvz0XwN9L1m4FVQk,6529
12
12
  commands/cat/list_cert_types.py,sha256=mbCls_EqC5JKG5rvS4o69k7KgZ6aNXlcqoJ3DtHsTFA,7127
@@ -16,7 +16,7 @@ commands/cat/list_deployed_databases.py,sha256=HE8nG-mIlxa9iSUEH-n71o-G2a4ss1Zza
16
16
  commands/cat/list_projects.py,sha256=Jzs-DtIpPhCH-gY4PYT6mnRBWnEf4m18TFfcw8UymNU,8011
17
17
  commands/cat/list_relationships.py,sha256=U9f78cOi4HyaacqNaFSMq_7rRxVcEczvwPv468GYw3Q,5869
18
18
  commands/cat/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
19
- commands/cat/list_terms.py,sha256=Eckpd4Y0RojuwWRy-dpft8dMtYQvHpe7bBvlsAAvbAE,5799
19
+ commands/cat/list_terms.py,sha256=gpjE_Wyzg7WDhh9numPPTiQCiLF6awjGqvpBFaXuRF8,6353
20
20
  commands/cat/list_todos.py,sha256=iPxHRyW3X5tiREio4TUOwRPvNPjU0gxm3pVnUI79ir4,6542
21
21
  commands/cat/list_user_ids.py,sha256=7JinL7rknPbGusIb8ikXKEaV1vvbuvx_WWtbmlfS_DY,5093
22
22
  commands/cli/__init__.py,sha256=hpTVSMP2gnPRhcAZPdeUEsQ-eaDySlXlk239dNWYmng,292
@@ -104,8 +104,8 @@ pyegeria/template_manager_omvs.py,sha256=heqbKeum5hPCHap4r1RUZU8YB3QaQlxVNbq4GZi
104
104
  pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
105
105
  pyegeria/valid_metadata_omvs.py,sha256=tfCGXed5LLt59YA8uZNNtd9UJ-lRZfPU_uZxK31Yux0,65069
106
106
  pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
107
- pyegeria-1.5.1.1.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
108
- pyegeria-1.5.1.1.8.dist-info/METADATA,sha256=MJFfN5gW1M1Y9PhGIiRvKQ_edM_jaBB_VOYZyBuyaFA,2997
109
- pyegeria-1.5.1.1.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
110
- pyegeria-1.5.1.1.8.dist-info/entry_points.txt,sha256=aSpiaOuOEL1QBfuIGOaATzDCihpVOyvIK1XCQHK3uRc,4186
111
- pyegeria-1.5.1.1.8.dist-info/RECORD,,
107
+ pyegeria-1.5.1.1.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
108
+ pyegeria-1.5.1.1.9.dist-info/METADATA,sha256=QK-axtaGKY3Ycm2TFqdw6i0VstKKWpIZ7XwN09eIFkw,2997
109
+ pyegeria-1.5.1.1.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
110
+ pyegeria-1.5.1.1.9.dist-info/entry_points.txt,sha256=aSpiaOuOEL1QBfuIGOaATzDCihpVOyvIK1XCQHK3uRc,4186
111
+ pyegeria-1.5.1.1.9.dist-info/RECORD,,