pyegeria 5.3.3.10.dev7__py3-none-any.whl → 5.3.3.10.dev9__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.
@@ -18,7 +18,7 @@ from rich.panel import Panel
18
18
  from rich.prompt import Prompt
19
19
  from rich.table import Table
20
20
  from rich.tree import Tree
21
- from pyegeria.solution_architect_omvs import SolutionArchitect
21
+ # from pyegeria.solution_architect_omvs import SolutionArchitect
22
22
  from pyegeria import (
23
23
  ProjectManager,
24
24
  UserNotAuthorizedException,
@@ -163,7 +163,7 @@ def supply_chain_viewer(
163
163
 
164
164
  token = client.create_egeria_bearer_token()
165
165
 
166
- sc = client.find_all_information_supply_chains(search_string)
166
+ sc = client.find_all_information_supply_chains(search_string, start_from=0)
167
167
 
168
168
  if (isinstance(sc, list)):
169
169
  t = tree.add(display_supply_chains(sc))
@@ -159,7 +159,7 @@ def display_my_todos(
159
159
  role_id = role["properties"].get("roleId", "No Role Id")
160
160
  add_rows(table, role_guid, role_id)
161
161
 
162
- # m_client.close_session()
162
+ token = m_client.refresh_egeria_bearer_token()
163
163
  return table
164
164
 
165
165
  try:
@@ -134,7 +134,7 @@ def display_todos(
134
134
  status,
135
135
  assigned_out,
136
136
  )
137
-
137
+ token = m_client.refresh_egeria_bearer_token()
138
138
  return table
139
139
 
140
140
  try:
@@ -82,6 +82,7 @@ def display_engine_activity(
82
82
  The width of the console for table printing.
83
83
  """
84
84
  g_client = AutomatedCuration(view_server, view_url, user, user_pwd=user_pass)
85
+ token = g_client.create_egeria_bearer_token()
85
86
 
86
87
  def generate_table() -> Table:
87
88
  """Make a new table."""
@@ -108,7 +109,7 @@ def display_engine_activity(
108
109
  table.add_column("Process Name")
109
110
  table.add_column("Completion Message")
110
111
 
111
- token = g_client.create_egeria_bearer_token()
112
+
112
113
  action_status = g_client.get_engine_actions()
113
114
 
114
115
  if type(action_status) is str:
@@ -186,7 +187,7 @@ def display_engine_activity(
186
187
  else:
187
188
  print("Egeria integration daemon not running")
188
189
  sys.exit()
189
-
190
+ g_client.refresh_egeria_bearer_token()
190
191
  return table
191
192
 
192
193
  try:
@@ -85,7 +85,7 @@ def display_engine_activity_c(
85
85
  The width of the console for table printing.
86
86
  """
87
87
  g_client = AutomatedCuration(view_server, view_url, user, user_pwd=user_pass)
88
-
88
+ token = g_client.create_egeria_bearer_token()
89
89
  def generate_table() -> Table:
90
90
  """Make a new table."""
91
91
  table = Table(
@@ -109,7 +109,7 @@ def display_engine_activity_c(
109
109
  table.add_column("Core Results")
110
110
  # table.add_column("Completion Message")
111
111
 
112
- token = g_client.create_egeria_bearer_token()
112
+
113
113
  action_status = g_client.get_engine_actions()
114
114
 
115
115
  if type(action_status) is str:
@@ -203,7 +203,7 @@ def display_engine_activity_c(
203
203
  else:
204
204
  print("Egeria integration daemon not running")
205
205
  sys.exit()
206
-
206
+ g_client.refresh_egeria_bearer_token()
207
207
  return table
208
208
 
209
209
  try:
@@ -146,7 +146,7 @@ def display_status(
146
146
  platform_url = " "
147
147
  platform_origin = " "
148
148
  platform_started = " "
149
-
149
+ token = r_client.refresh_egeria_bearer_token()
150
150
  return table
151
151
 
152
152
  try:
@@ -145,7 +145,7 @@ def display_status(
145
145
  try:
146
146
  # with Live(generate_table(), refresh_per_second=1, screen=True) as live:
147
147
  print(f" Started at {time.asctime()} \n")
148
- with Live(generate_table(), refresh_per_second=4, screen=False, transient=False) as live:
148
+ with Live(generate_table(), refresh_per_second=4, screen=True, transient=True) as live:
149
149
 
150
150
  while True:
151
151
  time.sleep(5)
@@ -23,8 +23,8 @@ from pyegeria import (
23
23
  RuntimeManager,
24
24
  TEMPLATE_GUIDS,
25
25
  INTEGRATION_GUIDS,
26
- MetadataExplorer,
27
- )
26
+ MetadataExplorer, SolutionArchitect,
27
+ )
28
28
 
29
29
 
30
30
  class EgeriaTech(
@@ -36,6 +36,7 @@ class EgeriaTech(
36
36
  RuntimeManager,
37
37
  ValidMetadataManager,
38
38
  MetadataExplorer,
39
+ SolutionArchitect,
39
40
  ):
40
41
  """
41
42
  Client for technical Egeria users.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyegeria
3
- Version: 5.3.3.10.dev7
3
+ Version: 5.3.3.10.dev9
4
4
  Summary: A python client for Egeria
5
5
  License: Apache 2.0
6
6
  Keywords: egeria,metadata,governance
@@ -41,7 +41,7 @@ pyegeria/commands/cat/__pycache__/list_user_ids.cpython-312.pyc,sha256=d03sLltHH
41
41
  pyegeria/commands/cat/exp_list_glossaries.py,sha256=HxMa5r7XxsH29KJ9GLOqIXD_PpUvrzsHe41LBWCZUTc,5811
42
42
  pyegeria/commands/cat/get_asset_graph.py,sha256=tHTib3AjbXzrGkOHE2SO51O_ARPjmmDq1UDbE8XSd7o,12454
43
43
  pyegeria/commands/cat/get_collection.py,sha256=ukUZA4Ot_Gjaym6LmFiWoGezshbcygJPowwHLooVHck,5359
44
- pyegeria/commands/cat/get_information_supply_chains.py,sha256=aXYmQ8tTY1NYCrFRM0K4-ui1vtkTB1UGTGZKaRNLTmc,7626
44
+ pyegeria/commands/cat/get_information_supply_chains.py,sha256=j8G5ZBqEjipxOLbQKxdueERopRBmULxSyHOVHJC_Bow,7642
45
45
  pyegeria/commands/cat/get_project_dependencies.py,sha256=NCUTAHAzScjQwoAHLf1DC9rGPg53VfjaTR96eahgjq8,5988
46
46
  pyegeria/commands/cat/get_project_structure.py,sha256=h6q5Ps3xRhV2Zqh6295nDCgVThUrWX5O-JC0qaSIM5s,5976
47
47
  pyegeria/commands/cat/get_tech_type_elements.py,sha256=9F0wBy8ireLFHLNChxkM4A7xJ4uFL4XKdXlm6roDk2I,6185
@@ -203,8 +203,8 @@ pyegeria/commands/my/__pycache__/monitor_open_todos.cpython-312.pyc,sha256=Elzgr
203
203
  pyegeria/commands/my/__pycache__/todo_actions.cpython-312.pyc,sha256=V7T7z0CzLP94L2MDtmgQceZsl8VBYZXXkIjMvFAqVZ8,10611
204
204
  pyegeria/commands/my/list_my_profile.py,sha256=vbt4k0SW8LFfvI8YgrwOd8G0p3-0BaepbgBKXlnzjRQ,5795
205
205
  pyegeria/commands/my/list_my_roles.py,sha256=ZkUcn91ssEkiyqY-ffXKJFeYZRz0EWWA9CV2vb_NWsM,5183
206
- pyegeria/commands/my/monitor_my_todos.py,sha256=-mS1okcmZsnCtyU4BMtBreD5xQokrHuyvVpKqNF0Re0,7075
207
- pyegeria/commands/my/monitor_open_todos.py,sha256=08i3Kz6OX17maynxRAeuDtvr0kj9lUjX2BigckjOaiM,5914
206
+ pyegeria/commands/my/monitor_my_todos.py,sha256=i6j2Fn3F9xAfGT6kMANybVOmlim7jOPfuszdWlSMvi8,7095
207
+ pyegeria/commands/my/monitor_open_todos.py,sha256=qchZdnJ4lW_cDk9HJEEYrAnrH4iDSNsd8Xa44_ul2pI,5968
208
208
  pyegeria/commands/my/todo_actions.py,sha256=zmNAI8zSY80eXcYkmBqo3t1cta-YlqazdDAms_vAIig,8145
209
209
  pyegeria/commands/ops/README.md,sha256=PJsSDcvMv6E6og6y-cwvxFX5lhCII0UCwgKiM1T17MQ,1595
210
210
  pyegeria/commands/ops/__init__.py,sha256=GyDGBYodxuJ-7k87z2farDs9vhR__RNrYeAe94HWGPM,764
@@ -228,13 +228,13 @@ pyegeria/commands/ops/list_archives.py,sha256=n5CVTFZp2e_q1-8Imj0a55jjZ9JTy41qzA
228
228
  pyegeria/commands/ops/list_catalog_targets.py,sha256=1WNF5OQ_raqNNJEa-jMj9XU4TKOic0AxER--BrEzE7A,7695
229
229
  pyegeria/commands/ops/load_archive.py,sha256=GLd48I_VkXuQfrcqFxsxD2kMRkdMkgh2Ha9UuclB8Xk,2699
230
230
  pyegeria/commands/ops/monitor_asset_events.py,sha256=etHXpZIrZr9EisgFqnldz9vLSZ_TAcRfyZVsC3a4Iwo,3875
231
- pyegeria/commands/ops/monitor_engine_activity.py,sha256=cIFmwzK039J1fkpcv_PJ6SNoimEsqg4_Y1q1uTeczes,9863
232
- pyegeria/commands/ops/monitor_engine_activity_c.py,sha256=kuSNeq0YaD9w8kjyijPxp5L4oa7_68IhsU6sFl16SAg,10747
231
+ pyegeria/commands/ops/monitor_engine_activity.py,sha256=kXtmFaR6JpXNrLZsQHsqdphymq5R6ISCxh9e-2WtG04,9906
232
+ pyegeria/commands/ops/monitor_engine_activity_c.py,sha256=DvlvKG7PW9HZZVtqpd74JX3WJA6H6oUqoeYsynO__PA,10789
233
233
  pyegeria/commands/ops/monitor_gov_eng_status.py,sha256=nSPZscEFnlljaA4AMNQqhY2SyovB3rPwidB0a4E6XpU,9863
234
234
  pyegeria/commands/ops/monitor_integ_daemon_status.py,sha256=1HPJHIrBIohJPPw0wHae2rvGgLSmgMgucRujcug5Qwk,11768
235
- pyegeria/commands/ops/monitor_platform_status.py,sha256=J_DdUDWv2FtY9DeJamdnWJmFK6Ua9L1GU_yFvb-zcTc,7180
235
+ pyegeria/commands/ops/monitor_platform_status.py,sha256=r5dssvFyRpvhXakLdNOnDKWnjKN83rhsEHbk2dc72ho,7234
236
236
  pyegeria/commands/ops/monitor_server_startup.py,sha256=bvLqxoRiw9tJzNtChZ70a5w_23UyJLlrlmbMnmZ5QN4,3908
237
- pyegeria/commands/ops/monitor_server_status.py,sha256=WtxI34FVPDxF74VpHUNQ_sdzdMMi3wn62-rFOQHKYDY,7115
237
+ pyegeria/commands/ops/monitor_server_status.py,sha256=EU30b8KnJ15bqzvBvnR8LvphIwDUE-EW3Xpb2PYlP_4,7113
238
238
  pyegeria/commands/ops/orig_monitor_server_list.py,sha256=tHGigEuUVZ8OA4ut5UscYK9HHeQevQ_MlIkE4XHYER8,4644
239
239
  pyegeria/commands/ops/orig_monitor_server_status.py,sha256=povaYQ-Y8QJvwaFuWp_BLUThjjTTbmu-21h7zi8NlWk,4026
240
240
  pyegeria/commands/ops/refresh_integration_daemon.py,sha256=aOIy7xsYfNwuiZ-8aXcd2RoRaBkakYQF5JPIWz1dlxE,2969
@@ -288,7 +288,7 @@ pyegeria/egeria_cat_client.py,sha256=NzwDbdi5OBHOOA7JzIQC5LqJJ7xtEwHA5yaKrGkDFnc
288
288
  pyegeria/egeria_client.py,sha256=tLVUCFv1mb12aX4WJCTezH1trE0dF3Oj5_zRzdlhyWY,3410
289
289
  pyegeria/egeria_config_client.py,sha256=Zm31u4e7o8mXTV93qD0IHluQuG73jYbArPFqypjaMso,1328
290
290
  pyegeria/egeria_my_client.py,sha256=XHwbFmSZXJClKDBFV8_fyK9CWaap2FndurRjywKPQiU,1549
291
- pyegeria/egeria_tech_client.py,sha256=KMxo7Er6DNjXWPG_CVpWbNTOSJYhUSG4Vu_2GaFgG0s,2599
291
+ pyegeria/egeria_tech_client.py,sha256=iANZmxdPcPYtOHj5WyUYfm3n8MQafhSUXOq8NAu3z0c,2645
292
292
  pyegeria/feedback_manager_omvs.py,sha256=B66e3ZCaC_dirb0mcb2Nz3PYh2ZKsoMAYNOb3euNiro,152931
293
293
  pyegeria/full_omag_server_config.py,sha256=k3fUfopAFAE3OKkFR7zZPiki_FYj6j2xQ4oD2SVaefQ,47350
294
294
  pyegeria/glossary_browser_omvs.py,sha256=NcitYaZJqwVODBO5zBtWpXPNUJJ3DKzEbRaOFSAyUlg,93554
@@ -306,8 +306,8 @@ pyegeria/template_manager_omvs.py,sha256=Sw5xsQAhy7a48xFCg59mg9_nqyhawoS9v4WyF-P
306
306
  pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
307
307
  pyegeria/valid_metadata_omvs.py,sha256=cCt5CCLv6BdzCu90n68r_PkG_PEQJjrtwCxio7K6yko,65034
308
308
  pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
309
- pyegeria-5.3.3.10.dev7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
310
- pyegeria-5.3.3.10.dev7.dist-info/METADATA,sha256=345cHQkEVhyO-WCImF98k_7Umsy_cIPrWwOsLrEB3xU,2741
311
- pyegeria-5.3.3.10.dev7.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
312
- pyegeria-5.3.3.10.dev7.dist-info/entry_points.txt,sha256=sqVSCsr2oVnXtKTgRs5_F9OjbtexhmaXE330sO8V9bk,5873
313
- pyegeria-5.3.3.10.dev7.dist-info/RECORD,,
309
+ pyegeria-5.3.3.10.dev9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
310
+ pyegeria-5.3.3.10.dev9.dist-info/METADATA,sha256=Lz0J51Zu4vy608Xi6x42ygE4Os2COg38pUQ98CgaAMg,2741
311
+ pyegeria-5.3.3.10.dev9.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
312
+ pyegeria-5.3.3.10.dev9.dist-info/entry_points.txt,sha256=CwtCppulHTB0m4vrIOiCVOaQXdNUG569RXMzrMJzldg,5953
313
+ pyegeria-5.3.3.10.dev9.dist-info/RECORD,,
@@ -12,6 +12,7 @@ get_asset_graph=pyegeria.commands.cat.get_asset_graph:main
12
12
  get_collection=pyegeria.commands.cat.get_collection:main
13
13
  get_element_info=pyegeria.commands.tech.get_element_info:main
14
14
  get_guid_info=pyegeria.commands.tech.get_guid_info:main
15
+ get_info_supply_chains=pyegeria.commands.cat.get_information_supply_chains:main
15
16
  get_project_dependencies=pyegeria.commands.cat.get_project_dependencies:main
16
17
  get_project_structure=pyegeria.commands.cat.get_project_structure:main
17
18
  get_tech_details=pyegeria.commands.tech.get_tech_details:main