pyegeria 5.3.4.25__py3-none-any.whl → 5.3.4.27__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.
@@ -100,13 +100,13 @@ def display_glossaries(
100
100
  glossaries, key=lambda k: k["glossaryProperties"]["displayName"]
101
101
  )
102
102
  for glossary in sorted_glossary_list:
103
- display_name = glossary["glossaryProperties"]["displayName"]
103
+ display_name = glossary["glossaryProperties"].get("displayName",'---')
104
104
  qualified_name = glossary["glossaryProperties"]["qualifiedName"]
105
105
  guid = glossary["elementHeader"]["guid"]
106
106
  q_name = Text(f"{qualified_name}\n&\n{guid}", justify="center")
107
- language = glossary["glossaryProperties"]["language"]
108
- description = glossary["glossaryProperties"]["description"]
109
- usage = glossary["glossaryProperties"]["usage"]
107
+ language = glossary["glossaryProperties"].get("language",'---')
108
+ description = glossary["glossaryProperties"].get("description",'---')
109
+ usage = glossary["glossaryProperties"].get("usage",'---')
110
110
  table.add_row(display_name, q_name, language, description, usage)
111
111
  console = Console(
112
112
  style="bold bright_white on black",
@@ -138,7 +138,7 @@ def display_glossary_terms(
138
138
  print(f"No terms found! - {search_string} : {glossary_guid} ")
139
139
  sys.exit(0)
140
140
  sorted_terms = sorted(
141
- terms, key=lambda k: k["glossaryTermProperties"]["displayName"]
141
+ terms, key=lambda k: k["glossaryTermProperties"].get("displayName","---")
142
142
  )
143
143
  style = "bright_white on black"
144
144
  if type(terms) is str:
@@ -149,7 +149,7 @@ def display_glossary_terms(
149
149
  if props == "None":
150
150
  return table
151
151
 
152
- display_name = Text(props["displayName"], style=style, justify="center")
152
+ display_name = Text(props.get("displayName","---"), style=style, justify="center")
153
153
  qualified_name = props["qualifiedName"]
154
154
  term_guid = term["elementHeader"]["guid"]
155
155
  q_name = Text(
@@ -180,7 +180,7 @@ def display_glossary_terms(
180
180
  else:
181
181
  glossary_name = "---"
182
182
 
183
- term_status = term["elementHeader"]["status"]
183
+ term_status = term["elementHeader"].get("status","---")
184
184
  table.add_row(
185
185
  display_name,
186
186
  q_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyegeria
3
- Version: 5.3.4.25
3
+ Version: 5.3.4.27
4
4
  Summary: A python client for Egeria
5
5
  License: Apache 2.0
6
6
  Keywords: egeria,metadata,governance
@@ -27,11 +27,11 @@ pyegeria/commands/cat/list_deployed_catalogs.py,sha256=VdN6R9kRVWX-fGIgubOigvMVP
27
27
  pyegeria/commands/cat/list_deployed_database_schemas.py,sha256=1Qicke1R2_7Xi3Qf5sp8KJ3_reAIt0z1iaz2sG8Z0Qs,9458
28
28
  pyegeria/commands/cat/list_deployed_databases.py,sha256=ryrBW1CxJRfOeLP978qQwxb5oImqhIsHghtcpWeBIrw,7587
29
29
  pyegeria/commands/cat/list_deployed_servers.py,sha256=_xR7EaaCsxIjTphxmoCZlARoja_vQqZ881pFiEuhw-8,5719
30
- pyegeria/commands/cat/list_glossaries.py,sha256=GLg1-6Wgj4hHDP83E4Zb6AbE3WjeBuUBM0P5UU92R-Y,5606
30
+ pyegeria/commands/cat/list_glossaries.py,sha256=zh76g-zKwhNYlUJWsBLXYG3qyDNCOa72YOUyGj15jps,5646
31
31
  pyegeria/commands/cat/list_projects.py,sha256=NzWTuepTGUEyxK-eWvuUxtBgCtNWubVwmz2eqm2UN1c,7997
32
32
  pyegeria/commands/cat/list_tech_type_elements.py,sha256=-9omj5en9dSP1xMSljYVHyfXsuhuE1bO2IFj_bZPhAs,6873
33
33
  pyegeria/commands/cat/list_tech_types.py,sha256=uqZcXHCzAznhEG6WWeM5j-spwUh8ycygFqpVDeXOG-0,4653
34
- pyegeria/commands/cat/list_terms.py,sha256=wve4BaQ2zbnL484p_3RZ4LwnTlM18ps1yCOJmIuL3XM,9721
34
+ pyegeria/commands/cat/list_terms.py,sha256=AO92WfGy6fySjBKpnLYrzFDdWzORF2vbsN1SHzWRo34,9751
35
35
  pyegeria/commands/cat/list_todos.py,sha256=NitCw0uyVVjmN1hxb1W-I4FbOsa8wQxW2ICyOElHyc8,6556
36
36
  pyegeria/commands/cat/list_user_ids.py,sha256=X5Q-YNEp38saPYDuy9VwdQC5Qpa4HyC3WvAdbyp_P6M,5108
37
37
  pyegeria/commands/cli/__init__.py,sha256=hpTVSMP2gnPRhcAZPdeUEsQ-eaDySlXlk239dNWYmng,292
@@ -240,8 +240,8 @@ pyegeria/test_w.html,sha256=q9HCstV2Ar-QiAqswte6hQ8EJuKqr5s99MUuXSxs7a8,11461
240
240
  pyegeria/utils.py,sha256=GCt1C0bp0Xng1ahzbZhzV9qQwH7Dj93IaCt2dvWb-sg,5417
241
241
  pyegeria/valid_metadata_omvs.py,sha256=Xq9DqBQvBFFJzaFIRKcVZ2k4gJvSh9yeXs_j-O3vn1w,65050
242
242
  pyegeria/x_action_author_omvs.py,sha256=RcqSzahUKCtvb_3u_wyintAlc9WFkC_2v0E12TZs8lQ,6433
243
- pyegeria-5.3.4.25.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
244
- pyegeria-5.3.4.25.dist-info/METADATA,sha256=GN0W3TCnbxTGXV-jXqex_GwQkzABfYhjR9Ep_yd7m7w,2688
245
- pyegeria-5.3.4.25.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
246
- pyegeria-5.3.4.25.dist-info/entry_points.txt,sha256=LS9g5JPSBL0whnyAcGhLZCAyUp6PkPU6fjHP9Aso1V4,6176
247
- pyegeria-5.3.4.25.dist-info/RECORD,,
243
+ pyegeria-5.3.4.27.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
244
+ pyegeria-5.3.4.27.dist-info/METADATA,sha256=tqGMBRDAvUvkSQEcP7dQyms9_SSv1Wkct08jKj56JjA,2688
245
+ pyegeria-5.3.4.27.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
246
+ pyegeria-5.3.4.27.dist-info/entry_points.txt,sha256=LS9g5JPSBL0whnyAcGhLZCAyUp6PkPU6fjHP9Aso1V4,6176
247
+ pyegeria-5.3.4.27.dist-info/RECORD,,