pyegeria 5.3.4.26__py3-none-any.whl → 5.3.5.1__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/__init__.py +1 -0
- pyegeria/_globals.py +2 -1
- pyegeria/commands/cat/list_terms.py +3 -3
- pyegeria/project_manager_omvs.py +2 -2
- {pyegeria-5.3.4.26.dist-info → pyegeria-5.3.5.1.dist-info}/METADATA +1 -1
- {pyegeria-5.3.4.26.dist-info → pyegeria-5.3.5.1.dist-info}/RECORD +9 -9
- {pyegeria-5.3.4.26.dist-info → pyegeria-5.3.5.1.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.4.26.dist-info → pyegeria-5.3.5.1.dist-info}/WHEEL +0 -0
- {pyegeria-5.3.4.26.dist-info → pyegeria-5.3.5.1.dist-info}/entry_points.txt +0 -0
pyegeria/__init__.py
CHANGED
pyegeria/_globals.py
CHANGED
@@ -42,4 +42,5 @@ NO_CATALOGS_FOUND = "No catalogs found"
|
|
42
42
|
NO_GLOSSARIES_FOUND = "No glossaries found"
|
43
43
|
NO_TERMS_FOUND = "No terms found"
|
44
44
|
NO_CATEGORIES_FOUND = "No categories found"
|
45
|
-
NO_ELEMENT_FOUND = "No element found"
|
45
|
+
NO_ELEMENT_FOUND = "No element found"
|
46
|
+
NO_PROJECTS_FOUND = "No projects found"
|
@@ -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"]
|
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
|
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"]
|
183
|
+
term_status = term["elementHeader"].get("status","---")
|
184
184
|
table.add_row(
|
185
185
|
display_name,
|
186
186
|
q_name,
|
pyegeria/project_manager_omvs.py
CHANGED
@@ -14,7 +14,7 @@ import time
|
|
14
14
|
from pyegeria._client import Client
|
15
15
|
from pyegeria._validators import validate_guid, validate_search_string
|
16
16
|
from pyegeria.utils import body_slimmer
|
17
|
-
from pyegeria._globals import NO_ELEMENTS_FOUND
|
17
|
+
from pyegeria._globals import NO_ELEMENTS_FOUND, NO_PROJECTS_FOUND
|
18
18
|
|
19
19
|
class ProjectManager(Client):
|
20
20
|
"""
|
@@ -586,7 +586,7 @@ class ProjectManager(Client):
|
|
586
586
|
)
|
587
587
|
|
588
588
|
resp = await self._async_make_request("POST", url, body_s)
|
589
|
-
return resp.json().get("elements",
|
589
|
+
return resp.json().get("elements", NO_PROJECTS_FOUND)
|
590
590
|
|
591
591
|
def get_projects_by_name(
|
592
592
|
self,
|
@@ -1,9 +1,9 @@
|
|
1
1
|
pyegeria/README.md,sha256=PwX5OC7-YSZUCIsoyHh1O-WBM2hE84sm3Bd4O353NOk,1464
|
2
|
-
pyegeria/__init__.py,sha256=
|
2
|
+
pyegeria/__init__.py,sha256=AYS0IpQrtlb5uKmOn-bGaL3iPYzdpg1on3CSquenyPM,29899
|
3
3
|
pyegeria/_client.py,sha256=aeyB27WFxswxcIj_Ky88F2Q4S5zn7ofmux65aen5mW0,31130
|
4
4
|
pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8MdpmVCQ,17264
|
5
5
|
pyegeria/_exceptions.py,sha256=1SrnV194V4_YJNnNAU0myTHQ3dhLn4GF2B2gZcj1u90,18153
|
6
|
-
pyegeria/_globals.py,sha256=
|
6
|
+
pyegeria/_globals.py,sha256=a_irI6oGuBLks2LzQHkSdK6xWbPdJCPRjqxK7PKxwgw,991
|
7
7
|
pyegeria/_validators.py,sha256=vP9nuZwucnCo_LrPU7hkitpWzaych5bTZEKE58TaTnQ,12726
|
8
8
|
pyegeria/asset_catalog_omvs.py,sha256=MOg_s12ve0yT7tPd1M87YN70nKdkP-JAxgtYeU5qh-c,25688
|
9
9
|
pyegeria/automated_curation_omvs.py,sha256=tzwCyXL0Hx8UjryBBWcPoEuBRajXZpLuwPQ1vuOg2yc,130349
|
@@ -31,7 +31,7 @@ pyegeria/commands/cat/list_glossaries.py,sha256=zh76g-zKwhNYlUJWsBLXYG3qyDNCOa72
|
|
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=
|
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
|
@@ -226,7 +226,7 @@ pyegeria/mermaid_utilities.py,sha256=sQqdFUWdNpHu9d3Tk9UVe80M-5bOzses0XcFYX5FF-E
|
|
226
226
|
pyegeria/metadata_explorer_omvs.py,sha256=xHnZTQKbd6XwOhYia-RiIisrvZcqHi0SL1l6OCf04Gk,86911
|
227
227
|
pyegeria/my_profile_omvs.py,sha256=d0oJYCJG7pS9BINPuGciVa00ac0jwPHNANXDCLginEc,34720
|
228
228
|
pyegeria/platform_services.py,sha256=YEpZsGGsbSdesN8ceyFhV0OMzKG6znTZrREMTRimLps,41701
|
229
|
-
pyegeria/project_manager_omvs.py,sha256=
|
229
|
+
pyegeria/project_manager_omvs.py,sha256=X64JK8Z_jNBX0sxcWoPp8g_iF52ynD_baLN5TGveTAA,67547
|
230
230
|
pyegeria/registered_info.py,sha256=y0-LgDIQXpph0lEWxIOG3_HsqX_Z2iAIb3xu4Aa4B70,6344
|
231
231
|
pyegeria/runtime_manager_omvs.py,sha256=Z5wY9ignNjil8O6yjihZftxkGoh9A4PQDcXhoIsOIT8,79698
|
232
232
|
pyegeria/server_operations.py,sha256=5k0KVz3u8qRLwtz16zT3J86LZY3pkUrMDcps8srmq1A,16831
|
@@ -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.
|
244
|
-
pyegeria-5.3.
|
245
|
-
pyegeria-5.3.
|
246
|
-
pyegeria-5.3.
|
247
|
-
pyegeria-5.3.
|
243
|
+
pyegeria-5.3.5.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
244
|
+
pyegeria-5.3.5.1.dist-info/METADATA,sha256=x5MGbqPZb2u5DYRz5yblu7hCkblZt-Tzg3EOHXLg9tE,2687
|
245
|
+
pyegeria-5.3.5.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
246
|
+
pyegeria-5.3.5.1.dist-info/entry_points.txt,sha256=LS9g5JPSBL0whnyAcGhLZCAyUp6PkPU6fjHP9Aso1V4,6176
|
247
|
+
pyegeria-5.3.5.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|