pyegeria 0.7.36__py3-none-any.whl → 0.7.38__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.
@@ -16,6 +16,7 @@ import time
16
16
  from rich import box
17
17
  from rich.console import Console
18
18
  from rich.live import Live
19
+ from rich.markdown import Markdown
19
20
  from rich.table import Table
20
21
 
21
22
  from pyegeria import (
@@ -92,8 +93,11 @@ def display_gov_eng_status(
92
93
 
93
94
  eng_desc = engine.get("governanceEngineDescription", " ")
94
95
  eng_req_types = engine.get("governanceRequestTypes", " ")
95
- if type(eng_req_types) is dict:
96
- eng_req_type_out = json.dumps(eng_req_types, indent=2)
96
+ eng_req_type_md = " "
97
+ if type(eng_req_types) is list:
98
+ for i in eng_req_types:
99
+ eng_req_type_md += f"* {i}\n"
100
+ eng_req_type_out = Markdown(eng_req_type_md)
97
101
  else:
98
102
  eng_req_type_out = " "
99
103
  status = engine["governanceEngineStatus"]
@@ -168,6 +172,7 @@ def main_paging():
168
172
  url = args.url if args.url is not None else EGERIA_ENGINE_HOST_URL
169
173
  userid = args.userid if args.userid is not None else EGERIA_USER
170
174
  user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
175
+ print(f"{userid} {user_pass}")
171
176
  display_gov_eng_status(
172
177
  server=server, url=url, username=userid, user_pass=user_pass, paging=True
173
178
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.7.36
3
+ Version: 0.7.38
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -41,7 +41,7 @@ examples/widgets/ops/monitor_asset_events.py,sha256=cjdlVqE0XYnoRW3aorNbsVkjByDX
41
41
  examples/widgets/ops/monitor_coco_status.py,sha256=ERz3OJ0TXImNKHGD4gJvgT3pl2gS23ewAdUuYVLUhEE,3299
42
42
  examples/widgets/ops/monitor_engine_activity.py,sha256=m18OSnRoo5ut0WKKOWNoFGXJW_npjp6hzHK3RUQG8T0,8479
43
43
  examples/widgets/ops/monitor_engine_activity_c.py,sha256=6YAjraLXsRoy-R9vSQlDbgrMMBaxkp8nfIp-ayz3nZs,9340
44
- examples/widgets/ops/monitor_gov_eng_status.py,sha256=wxs9HzgGpf5m1Tz4lrMK_9JKK6zEyFXibgtAXA34Byk,6353
44
+ examples/widgets/ops/monitor_gov_eng_status.py,sha256=o4mSaBs81ghGgZiyZecBT6XcHiMpQk5OzP3K23lICGw,6537
45
45
  examples/widgets/ops/monitor_integ_daemon_status.py,sha256=u15-tvGveO7_yV7JJmYkxiEDnq5KBk8J4hkw0id_LFA,9224
46
46
  examples/widgets/ops/monitor_platform_status.py,sha256=hn96QuOjCndSDWl1-DAzk9O8D68YoRP1ALOlVfWVQgo,6400
47
47
  examples/widgets/ops/monitor_server_list.py,sha256=Uhtn8lv7QVXJBi9DSR3Nelmz8TB0vOsat10nFS6Nu20,4637
@@ -90,8 +90,8 @@ pyegeria/server_operations.py,sha256=1z2wZLdrNZG6HlswY_Eh8qI1mlcjsQ59zO-AMy9XbUU
90
90
  pyegeria/tech_guids_31-08-2024 14:33.py,sha256=B3fytBw9dmjnlEaCKgt6oQoGh-8HUBG0mFQeyDoUEYQ,6229
91
91
  pyegeria/utils.py,sha256=pkVmS3RrbjaS9yz7FtOCwaOfV5FMqz-__Rt5koCnd9c,5374
92
92
  pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
93
- pyegeria-0.7.36.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
94
- pyegeria-0.7.36.dist-info/METADATA,sha256=r7gUF51v0CZ703YoPsmecoMqWwOGtFEKbrcL3dcIMGw,2818
95
- pyegeria-0.7.36.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
96
- pyegeria-0.7.36.dist-info/entry_points.txt,sha256=2pQNMVDxO5PZRFREMmI0WzZd6UhWTTK5rnylNQse6N4,3754
97
- pyegeria-0.7.36.dist-info/RECORD,,
93
+ pyegeria-0.7.38.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
94
+ pyegeria-0.7.38.dist-info/METADATA,sha256=kNw-dCKAhKm8J7EWZaBrlPkIAfb4dFO7sTbu9xlSlLs,2818
95
+ pyegeria-0.7.38.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
96
+ pyegeria-0.7.38.dist-info/entry_points.txt,sha256=2pQNMVDxO5PZRFREMmI0WzZd6UhWTTK5rnylNQse6N4,3754
97
+ pyegeria-0.7.38.dist-info/RECORD,,