pyegeria 5.3.4.1__py3-none-any.whl → 5.3.4.3__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.
Files changed (395) hide show
  1. pyegeria/.DS_Store +0 -0
  2. pyegeria/__init__.py +70 -68
  3. pyegeria/_client.py +8 -8
  4. pyegeria/_exceptions.py +55 -46
  5. pyegeria/_globals.py +0 -1
  6. pyegeria/_validators.py +5 -5
  7. pyegeria/asset_catalog_omvs.py +5 -4
  8. pyegeria/automated_curation_omvs.py +6 -2
  9. pyegeria/classification_manager_omvs.py +6 -4
  10. pyegeria/collection_manager_omvs.py +5 -5
  11. pyegeria/commands/.DS_Store +0 -0
  12. pyegeria/commands/__init__.py +13 -11
  13. pyegeria/commands/__pycache__/__init__.cpython-312.pyc +0 -0
  14. pyegeria/commands/__pycache__/server_status_widget.cpython-312-pytest-7.4.4.pyc +0 -0
  15. pyegeria/commands/cat/__init__.py +1 -1
  16. pyegeria/commands/cat/__pycache__/__init__.cpython-312.pyc +0 -0
  17. pyegeria/commands/cat/__pycache__/get_asset_graph.cpython-312.pyc +0 -0
  18. pyegeria/commands/cat/__pycache__/get_collection.cpython-312.pyc +0 -0
  19. pyegeria/commands/cat/__pycache__/get_project_dependencies.cpython-312.pyc +0 -0
  20. pyegeria/commands/cat/__pycache__/get_project_structure.cpython-312.pyc +0 -0
  21. pyegeria/commands/cat/__pycache__/get_tech_type_elements.cpython-312.pyc +0 -0
  22. pyegeria/commands/cat/__pycache__/glossary_actions.cpython-312.pyc +0 -0
  23. pyegeria/commands/cat/__pycache__/list_assets.cpython-312.pyc +0 -0
  24. pyegeria/commands/cat/__pycache__/list_cert_types.cpython-312.pyc +0 -0
  25. pyegeria/commands/cat/__pycache__/list_collections.cpython-312.pyc +0 -0
  26. pyegeria/commands/cat/__pycache__/list_deployed_catalogs.cpython-312.pyc +0 -0
  27. pyegeria/commands/cat/__pycache__/list_deployed_database_schemas.cpython-312.pyc +0 -0
  28. pyegeria/commands/cat/__pycache__/list_deployed_databases.cpython-312.pyc +0 -0
  29. pyegeria/commands/cat/__pycache__/list_glossaries.cpython-312.pyc +0 -0
  30. pyegeria/commands/cat/__pycache__/list_projects.cpython-312.pyc +0 -0
  31. pyegeria/commands/cat/__pycache__/list_servers_deployed_imp.cpython-312.pyc +0 -0
  32. pyegeria/commands/cat/__pycache__/list_tech_type_elements.cpython-312.pyc +0 -0
  33. pyegeria/commands/cat/__pycache__/list_tech_types.cpython-312.pyc +0 -0
  34. pyegeria/commands/cat/__pycache__/list_terms.cpython-312.pyc +0 -0
  35. pyegeria/commands/cat/__pycache__/list_todos.cpython-312.pyc +0 -0
  36. pyegeria/commands/cat/__pycache__/list_user_ids.cpython-312.pyc +0 -0
  37. pyegeria/commands/cat/exp_list_glossaries.py +1 -2
  38. pyegeria/commands/cat/get_asset_graph.py +2 -2
  39. pyegeria/commands/cat/get_collection.py +4 -5
  40. pyegeria/commands/cat/get_project_dependencies.py +3 -5
  41. pyegeria/commands/cat/get_project_structure.py +3 -5
  42. pyegeria/commands/cat/get_tech_type_elements.py +11 -13
  43. pyegeria/commands/cat/glossary_actions.py +3 -4
  44. pyegeria/commands/cat/list_assets.py +7 -4
  45. pyegeria/commands/cat/list_cert_types.py +4 -4
  46. pyegeria/commands/cat/list_collections.py +1 -1
  47. pyegeria/commands/cat/list_deployed_catalogs.py +7 -6
  48. pyegeria/commands/cat/list_deployed_database_schemas.py +7 -6
  49. pyegeria/commands/cat/list_deployed_databases.py +7 -6
  50. pyegeria/commands/cat/list_glossaries.py +1 -1
  51. pyegeria/commands/cat/list_projects.py +3 -3
  52. pyegeria/commands/cat/list_servers_deployed_imp.py +1 -1
  53. pyegeria/commands/cat/list_tech_type_elements.py +1 -1
  54. pyegeria/commands/cat/list_tech_types.py +2 -2
  55. pyegeria/commands/cat/list_terms.py +2 -3
  56. pyegeria/commands/cat/list_todos.py +1 -1
  57. pyegeria/commands/cat/list_user_ids.py +7 -6
  58. pyegeria/commands/cli/__pycache__/__init__.cpython-312.pyc +0 -0
  59. pyegeria/commands/cli/__pycache__/egeria_login_tui.cpython-312.pyc +0 -0
  60. pyegeria/commands/cli/__pycache__/egeria_ops.cpython-312.pyc +0 -0
  61. pyegeria/commands/cli/__pycache__/ops_config.cpython-312.pyc +0 -0
  62. pyegeria/commands/cli/egeria.py +77 -69
  63. pyegeria/commands/cli/egeria_cat.py +9 -16
  64. pyegeria/commands/cli/egeria_login_tui.py +12 -14
  65. pyegeria/commands/cli/egeria_my.py +3 -6
  66. pyegeria/commands/cli/egeria_ops.py +7 -9
  67. pyegeria/commands/cli/egeria_tech.py +48 -34
  68. pyegeria/commands/cli/ops_config.py +5 -4
  69. pyegeria/commands/doc/.DS_Store +0 -0
  70. pyegeria/commands/doc/Visual Command Reference/.DS_Store +0 -0
  71. pyegeria/commands/doc/Visual Command Reference/cat/.DS_Store +0 -0
  72. pyegeria/commands/doc/Visual Command Reference/cat/show/.DS_Store +0 -0
  73. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/.DS_Store +0 -0
  74. pyegeria/commands/doc/glossary/.DS_Store +0 -0
  75. pyegeria/commands/doc/glossary/images/.DS_Store +0 -0
  76. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/.DS_Store +0 -0
  77. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/.DS_Store +0 -0
  78. pyegeria/commands/my/__pycache__/__init__.cpython-312.pyc +0 -0
  79. pyegeria/commands/my/__pycache__/list_my_profile.cpython-312.pyc +0 -0
  80. pyegeria/commands/my/__pycache__/list_my_roles.cpython-312.pyc +0 -0
  81. pyegeria/commands/my/__pycache__/monitor_my_todos.cpython-312.pyc +0 -0
  82. pyegeria/commands/my/__pycache__/monitor_open_todos.cpython-312.pyc +0 -0
  83. pyegeria/commands/my/__pycache__/todo_actions.cpython-312.pyc +0 -0
  84. pyegeria/commands/my/list_my_profile.py +4 -4
  85. pyegeria/commands/my/list_my_roles.py +2 -2
  86. pyegeria/commands/my/monitor_my_todos.py +4 -4
  87. pyegeria/commands/my/monitor_open_todos.py +4 -4
  88. pyegeria/commands/my/todo_actions.py +1 -0
  89. pyegeria/commands/ops/__init__.py +1 -0
  90. pyegeria/commands/ops/__pycache__/__init__.cpython-312.pyc +0 -0
  91. pyegeria/commands/ops/__pycache__/gov_server_actions.cpython-312.pyc +0 -0
  92. pyegeria/commands/ops/__pycache__/list_archives.cpython-312.pyc +0 -0
  93. pyegeria/commands/ops/__pycache__/list_catalog_targets.cpython-312.pyc +0 -0
  94. pyegeria/commands/ops/__pycache__/load_archive.cpython-312.pyc +0 -0
  95. pyegeria/commands/ops/__pycache__/monitor_engine_activity.cpython-312.pyc +0 -0
  96. pyegeria/commands/ops/__pycache__/monitor_engine_activity_c.cpython-312.pyc +0 -0
  97. pyegeria/commands/ops/__pycache__/monitor_gov_eng_status.cpython-312.pyc +0 -0
  98. pyegeria/commands/ops/__pycache__/monitor_integ_daemon_status.cpython-312.pyc +0 -0
  99. pyegeria/commands/ops/__pycache__/monitor_platform_status.cpython-312.pyc +0 -0
  100. pyegeria/commands/ops/__pycache__/monitor_server_startup.cpython-312.pyc +0 -0
  101. pyegeria/commands/ops/__pycache__/monitor_server_status.cpython-312.pyc +0 -0
  102. pyegeria/commands/ops/__pycache__/refresh_integration_daemon.cpython-312.pyc +0 -0
  103. pyegeria/commands/ops/__pycache__/restart_integration_daemon.cpython-312.pyc +0 -0
  104. pyegeria/commands/ops/__pycache__/table_integ_daemon_status.cpython-312.pyc +0 -0
  105. pyegeria/commands/ops/gov_server_actions.py +3 -2
  106. pyegeria/commands/ops/list_archives.py +5 -4
  107. pyegeria/commands/ops/list_catalog_targets.py +2 -2
  108. pyegeria/commands/ops/load_archive.py +2 -0
  109. pyegeria/commands/ops/monitor_asset_events.py +6 -5
  110. pyegeria/commands/ops/monitor_engine_activity.py +1 -2
  111. pyegeria/commands/ops/monitor_engine_activity_c.py +2 -2
  112. pyegeria/commands/ops/monitor_gov_eng_status.py +1 -1
  113. pyegeria/commands/ops/monitor_integ_daemon_status.py +14 -8
  114. pyegeria/commands/ops/monitor_platform_status.py +2 -1
  115. pyegeria/commands/ops/monitor_server_startup.py +5 -5
  116. pyegeria/commands/ops/monitor_server_status.py +6 -4
  117. pyegeria/commands/ops/orig_monitor_server_status.py +1 -1
  118. pyegeria/commands/tech/.DS_Store +0 -0
  119. pyegeria/commands/tech/__pycache__/__init__.cpython-312.pyc +0 -0
  120. pyegeria/commands/tech/__pycache__/get_element_info.cpython-312.pyc +0 -0
  121. pyegeria/commands/tech/__pycache__/get_guid_info.cpython-312.pyc +0 -0
  122. pyegeria/commands/tech/__pycache__/get_tech_details.cpython-312.pyc +0 -0
  123. pyegeria/commands/tech/__pycache__/get_tech_type_template.cpython-312.pyc +0 -0
  124. pyegeria/commands/tech/__pycache__/list_all_om_type_elements.cpython-312.pyc +0 -0
  125. pyegeria/commands/tech/__pycache__/list_all_om_type_elements_x.cpython-312.pyc +0 -0
  126. pyegeria/commands/tech/__pycache__/list_all_related_elements.cpython-312.pyc +0 -0
  127. pyegeria/commands/tech/__pycache__/list_anchored_elements.cpython-312.pyc +0 -0
  128. pyegeria/commands/tech/__pycache__/list_asset_types.cpython-312.pyc +0 -0
  129. pyegeria/commands/tech/__pycache__/list_elements_by_classification_by_property_value.cpython-312.pyc +0 -0
  130. pyegeria/commands/tech/__pycache__/list_elements_by_property_value.cpython-312.pyc +0 -0
  131. pyegeria/commands/tech/__pycache__/list_elements_by_property_value_x.cpython-312.pyc +0 -0
  132. pyegeria/commands/tech/__pycache__/list_elements_for_classification.cpython-312.pyc +0 -0
  133. pyegeria/commands/tech/__pycache__/list_gov_action_processes.cpython-312.pyc +0 -0
  134. pyegeria/commands/tech/__pycache__/list_information_supply_chains.cpython-312.pyc +0 -0
  135. pyegeria/commands/tech/__pycache__/list_registered_services.cpython-312.pyc +0 -0
  136. pyegeria/commands/tech/__pycache__/list_related_elements_with_prop_value.cpython-312.pyc +0 -0
  137. pyegeria/commands/tech/__pycache__/list_related_specification.cpython-312.pyc +0 -0
  138. pyegeria/commands/tech/__pycache__/list_relationship_types.cpython-312.pyc +0 -0
  139. pyegeria/commands/tech/__pycache__/list_relationships.cpython-312.pyc +0 -0
  140. pyegeria/commands/tech/__pycache__/list_solution_blueprints.cpython-312.pyc +0 -0
  141. pyegeria/commands/tech/__pycache__/list_solution_components.cpython-312.pyc +0 -0
  142. pyegeria/commands/tech/__pycache__/list_solution_roles.cpython-312.pyc +0 -0
  143. pyegeria/commands/tech/__pycache__/list_tech_templates.cpython-312.pyc +0 -0
  144. pyegeria/commands/tech/__pycache__/list_valid_metadata_values.cpython-312.pyc +0 -0
  145. pyegeria/commands/tech/get_element_info.py +3 -5
  146. pyegeria/commands/tech/get_guid_info.py +2 -3
  147. pyegeria/commands/tech/get_tech_details.py +6 -7
  148. pyegeria/commands/tech/get_tech_type_template.py +2 -2
  149. pyegeria/commands/tech/list_all_om_type_elements.py +7 -6
  150. pyegeria/commands/tech/list_all_om_type_elements_x.py +8 -9
  151. pyegeria/commands/tech/list_all_related_elements.py +8 -6
  152. pyegeria/commands/tech/list_anchored_elements.py +2 -2
  153. pyegeria/commands/tech/list_asset_types.py +2 -2
  154. pyegeria/commands/tech/list_elements_by_classification_by_property_value.py +38 -24
  155. pyegeria/commands/tech/list_elements_by_property_value.py +26 -21
  156. pyegeria/commands/tech/list_elements_by_property_value_x.py +18 -13
  157. pyegeria/commands/tech/list_elements_for_classification.py +8 -6
  158. pyegeria/commands/tech/list_gov_action_processes.py +3 -4
  159. pyegeria/commands/tech/list_information_supply_chains.py +19 -24
  160. pyegeria/commands/tech/list_registered_services.py +1 -1
  161. pyegeria/commands/tech/list_related_elements_with_prop_value.py +27 -13
  162. pyegeria/commands/tech/list_related_specification.py +1 -1
  163. pyegeria/commands/tech/list_relationship_types.py +2 -3
  164. pyegeria/commands/tech/list_relationships.py +1 -1
  165. pyegeria/commands/tech/list_solution_blueprints.py +40 -37
  166. pyegeria/commands/tech/list_solution_components.py +49 -36
  167. pyegeria/commands/tech/list_solution_roles.py +44 -37
  168. pyegeria/commands/tech/list_tech_templates.py +1 -1
  169. pyegeria/commands/tech/list_valid_metadata_values.py +3 -4
  170. pyegeria/commands/tech/table_tech_templates.py +14 -11
  171. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Automated Manufacturing Control.html +1 -1
  172. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Clinical Trial Management Solution Blueprint.html +1 -1
  173. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Employee Management Solution Blueprint.html +1 -1
  174. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Hazardous Material Management Solution Blueprint.html +1 -1
  175. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Inventory Management.html +1 -1
  176. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Personalized Medicine Order Fulfillment Solution Blueprint.html +1 -1
  177. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Sustainability Reporting Solution Blueprint.html +1 -1
  178. pyegeria/commands/tech/work/mermaid_graphs/blueprints/{{displayName}}.html +1 -1
  179. pyegeria/commands/tech/work/mermaid_graphs/components/Accounting ledgers.html +1 -1
  180. pyegeria/commands/tech/work/mermaid_graphs/components/Analyse Patient Data.html +1 -1
  181. pyegeria/commands/tech/work/mermaid_graphs/components/Assemble Treatment Assessment Report.html +1 -1
  182. pyegeria/commands/tech/work/mermaid_graphs/components/Certify Hospital.html +1 -1
  183. pyegeria/commands/tech/work/mermaid_graphs/components/Employee Expense Tool.html +1 -1
  184. pyegeria/commands/tech/work/mermaid_graphs/components/Goods Inventory.html +1 -1
  185. pyegeria/commands/tech/work/mermaid_graphs/components/Hazardous Materials (HazMat) Inventory.html +1 -1
  186. pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Landing Area Folder.html +1 -1
  187. pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Processes.html +1 -1
  188. pyegeria/commands/tech/work/mermaid_graphs/components/Landing Folder Cataloguer.html +1 -1
  189. pyegeria/commands/tech/work/mermaid_graphs/components/Nominate Hospital.html +1 -1
  190. pyegeria/commands/tech/work/mermaid_graphs/components/Onboard Hospital.html +1 -1
  191. pyegeria/commands/tech/work/mermaid_graphs/components/Populate Sandbox.html +1 -1
  192. pyegeria/commands/tech/work/mermaid_graphs/components/Set up Data Lake Folder.html +1 -1
  193. pyegeria/commands/tech/work/mermaid_graphs/components/Set up clinical trial.html +1 -1
  194. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Calculators.html +1 -1
  195. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Dashboards.html +1 -1
  196. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Operational Data Store (ODS).html +1 -1
  197. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Assessment Report Validation and Delivery.html +1 -1
  198. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Efficacy Evidence.html +1 -1
  199. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Validation Sandbox.html +1 -1
  200. pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Data Lake Folder.html +1 -1
  201. pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Onboarding Pipeline.html +1 -1
  202. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DC-LEADER.html +1 -1
  203. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DEPOT-LEADER.html +1 -1
  204. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-LAB-LEADER.html +1 -1
  205. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-OFFICE-LEADER.html +1 -1
  206. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-SITE-LEADER.html +1 -1
  207. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-DC-LEADER.html +1 -1
  208. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-FACTORY-LEADER.html +1 -1
  209. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-OFFICE-LEADER.html +1 -1
  210. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-SITE-LEADER.html +1 -1
  211. pyegeria/commands/tech/work/mermaid_graphs/roles/C-TRL-SUSTAINABILITY-CHAMP.html +1 -1
  212. pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-CT:ProjectManager.html +1 -1
  213. pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-MM:ProjectManager.html +1 -1
  214. pyegeria/commands/tech/work/mermaid_graphs/roles/CertifiedDataEngineer.html +1 -1
  215. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialManager.html +1 -1
  216. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospital.html +1 -1
  217. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospitalCoordinator.html +1 -1
  218. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialSponsor.html +1 -1
  219. pyegeria/commands/tech/work/mermaid_graphs/roles/Community Leader.html +1 -1
  220. pyegeria/commands/tech/work/mermaid_graphs/roles/CommunityMember.html +1 -1
  221. pyegeria/commands/tech/work/mermaid_graphs/roles/DIST-SUSTAINABILITY-CHAMP.html +1 -1
  222. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DC-LEADER.html +1 -1
  223. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DEPOT-LEADER.html +1 -1
  224. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-FACTORY-LEADER.html +1 -1
  225. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-OFFICE-LEADER.html +1 -1
  226. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-SITE-LEADER.html +1 -1
  227. pyegeria/commands/tech/work/mermaid_graphs/roles/FIN-SUSTAINABILITY-CHAMP.html +1 -1
  228. pyegeria/commands/tech/work/mermaid_graphs/roles/GOVERNANCE_LEADER.html +1 -1
  229. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:0.html +1 -1
  230. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:1.html +1 -1
  231. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:2.html +1 -1
  232. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:3.html +1 -1
  233. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:4.html +1 -1
  234. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:5.html +1 -1
  235. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:6.html +1 -1
  236. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:7.html +1 -1
  237. pyegeria/commands/tech/work/mermaid_graphs/roles/HR-SUSTAINABILITY-CHAMP.html +1 -1
  238. pyegeria/commands/tech/work/mermaid_graphs/roles/IT-SUSTAINABILITY-CHAMP.html +1 -1
  239. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-DEPOT-LEADER.html +1 -1
  240. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-OFFICE-LEADER.html +1 -1
  241. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-SITE-LEADER.html +1 -1
  242. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-DC-LEADER.html +1 -1
  243. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-LAB-LEADER.html +1 -1
  244. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-OFFICE-LEADER.html +1 -1
  245. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-SITE-LEADER.html +1 -1
  246. pyegeria/commands/tech/work/mermaid_graphs/roles/MFG-SUSTAINABILITY-CHAMP.html +1 -1
  247. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-DC-LEADER.html +1 -1
  248. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-LAB-LEADER.html +1 -1
  249. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-OFFICE-LEADER.html +1 -1
  250. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-SITE-LEADER.html +1 -1
  251. pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentDataScientist.html +1 -1
  252. pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentResearcher.html +1 -1
  253. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-001:ProjectManager.html +1 -1
  254. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-002:ProjectManager.html +1 -1
  255. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-003:ProjectManager.html +1 -1
  256. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF:ProjectManager.html +1 -1
  257. pyegeria/commands/tech/work/mermaid_graphs/roles/RES-SUSTAINABILITY-CHAMP.html +1 -1
  258. pyegeria/commands/tech/work/mermaid_graphs/roles/SALES-SUSTAINABILITY-CHAMP.html +1 -1
  259. pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-LEAD.html +1 -1
  260. pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-TECH-LEAD.html +1 -1
  261. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityChampion.html +1 -1
  262. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityExecutive.html +1 -1
  263. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityLeader.html +1 -1
  264. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0001.html +1 -1
  265. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0002.html +1 -1
  266. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0003.html +1 -1
  267. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0004.html +1 -1
  268. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0005.html +1 -1
  269. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0006.html +1 -1
  270. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0007.html +1 -1
  271. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0008.html +1 -1
  272. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0009.html +1 -1
  273. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0010.html +1 -1
  274. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0011.html +1 -1
  275. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0012.html +1 -1
  276. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0013.html +1 -1
  277. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0014.html +1 -1
  278. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0015.html +1 -1
  279. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0016.html +1 -1
  280. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0017.html +1 -1
  281. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0018.html +1 -1
  282. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0019.html +1 -1
  283. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0020.html +1 -1
  284. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0021.html +1 -1
  285. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0022.html +1 -1
  286. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0023.html +1 -1
  287. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0024.html +1 -1
  288. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2343.html +1 -1
  289. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2373.html +1 -1
  290. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3067.html +1 -1
  291. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3082.html +1 -1
  292. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4051.html +1 -1
  293. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4302.html +1 -1
  294. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4332.html +1 -1
  295. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:5656.html +1 -1
  296. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6788.html +1 -1
  297. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6877.html +1 -1
  298. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:7432.html +1 -1
  299. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9657.html +1 -1
  300. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9992.html +1 -1
  301. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9993.html +1 -1
  302. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9994.html +1 -1
  303. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9995.html +1 -1
  304. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9996.html +1 -1
  305. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9997.html +1 -1
  306. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9998.html +1 -1
  307. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9999.html +1 -1
  308. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0001.html +1 -1
  309. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0002.html +1 -1
  310. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0003.html +1 -1
  311. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0004.html +1 -1
  312. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0005.html +1 -1
  313. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0006.html +1 -1
  314. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0007.html +1 -1
  315. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0008.html +1 -1
  316. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0009.html +1 -1
  317. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0010.html +1 -1
  318. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0011.html +1 -1
  319. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0012.html +1 -1
  320. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0013.html +1 -1
  321. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0014.html +1 -1
  322. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0015.html +1 -1
  323. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0016.html +1 -1
  324. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0017.html +1 -1
  325. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0018.html +1 -1
  326. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0019.html +1 -1
  327. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0020.html +1 -1
  328. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0021.html +1 -1
  329. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0022.html +1 -1
  330. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0023.html +1 -1
  331. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0024.html +1 -1
  332. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2343.html +1 -1
  333. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2373.html +1 -1
  334. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3067.html +1 -1
  335. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3082.html +1 -1
  336. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4051.html +1 -1
  337. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4302.html +1 -1
  338. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4332.html +1 -1
  339. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:5656.html +1 -1
  340. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6788.html +1 -1
  341. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6877.html +1 -1
  342. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:7432.html +1 -1
  343. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9657.html +1 -1
  344. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9992.html +1 -1
  345. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9993.html +1 -1
  346. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9994.html +1 -1
  347. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9995.html +1 -1
  348. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9996.html +1 -1
  349. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9997.html +1 -1
  350. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9998.html +1 -1
  351. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9999.html +1 -1
  352. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DC-LEADER.html +1 -1
  353. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DEPOT-LEADER.html +1 -1
  354. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-FACTORY-LEADER.html +1 -1
  355. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-OFFICE-LEADER.html +1 -1
  356. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-SITE-LEADER.html +1 -1
  357. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Subject Onboarding.html +1 -1
  358. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Treatment Validation.html +1 -1
  359. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Employee Expense Payment.html +1 -1
  360. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Drug Product Information Distribution.html +1 -1
  361. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Employee Onboarding.html +1 -1
  362. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Personalized Treatment Ordering.html +1 -1
  363. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Physical Inventory Tracking.html +1 -1
  364. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Sustainability Reporting.html +1 -1
  365. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/{{displayName}}.html +1 -1
  366. pyegeria/commands/tech/x_list_related_elements.py +4 -2
  367. pyegeria/core_omag_server_config.py +1 -1
  368. pyegeria/create_tech_guid_lists.py +3 -1
  369. pyegeria/egeria_cat_client.py +5 -8
  370. pyegeria/egeria_client.py +17 -20
  371. pyegeria/egeria_config_client.py +2 -1
  372. pyegeria/egeria_my_client.py +4 -4
  373. pyegeria/egeria_tech_client.py +29 -20
  374. pyegeria/full_omag_server_config.py +5 -3
  375. pyegeria/glossary_browser_omvs.py +2 -5
  376. pyegeria/glossary_manager_omvs.py +4 -7
  377. pyegeria/mermaid_utilities.py +13 -11
  378. pyegeria/metadata_explorer_omvs.py +4 -5
  379. pyegeria/my_profile_omvs.py +2 -1
  380. pyegeria/platform_services.py +4 -4
  381. pyegeria/project_manager_omvs.py +2 -4
  382. pyegeria/runtime_manager_omvs.py +5 -8
  383. pyegeria/server_operations.py +1 -1
  384. pyegeria/solution_architect_omvs.py +136 -120
  385. pyegeria/template_manager_omvs.py +4 -9
  386. pyegeria/utils.py +3 -1
  387. pyegeria/valid_metadata_omvs.py +1 -0
  388. pyegeria/x_action_author_omvs.py +2 -5
  389. {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/METADATA +1 -1
  390. pyegeria-5.3.4.3.dist-info/RECORD +522 -0
  391. {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/entry_points.txt +0 -1
  392. pyegeria/commands/cat/link-check.py +0 -185
  393. pyegeria-5.3.4.1.dist-info/RECORD +0 -437
  394. {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/LICENSE +0 -0
  395. {pyegeria-5.3.4.1.dist-info → pyegeria-5.3.4.3.dist-info}/WHEEL +0 -0
@@ -17,14 +17,15 @@ import time
17
17
  import nest_asyncio
18
18
 
19
19
  nest_asyncio.apply()
20
+ from IPython.display import HTML, display
21
+ from rich.console import Console
22
+
20
23
  from pyegeria import (
21
24
  AutomatedCuration,
22
25
  InvalidParameterException,
23
26
  PropertyServerException,
24
27
  UserNotAuthorizedException,
25
28
  )
26
- from IPython.display import display, HTML
27
- from rich.console import Console
28
29
 
29
30
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
30
31
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
@@ -78,12 +79,12 @@ def render_mermaid(mermaid_code):
78
79
 
79
80
 
80
81
  def parse_mermaid_code(mermaid_code):
81
- parts = mermaid_code.split('---', maxsplit=3)
82
+ parts = mermaid_code.split("---", maxsplit=3)
82
83
  if len(parts) == 3:
83
84
  full_title = parts[1].strip()
84
- title_l = full_title.split('[')[0]
85
- title = title_l.replace('title: ','')
86
- guid = full_title.split('[')[1].split(']')[0]
85
+ title_l = full_title.split("[")[0]
86
+ title = title_l.replace("title: ", "")
87
+ guid = full_title.split("[")[1].split("]")[0]
87
88
  guid = " " if guid is None else guid
88
89
  mermaid_code = parts[2].strip()
89
90
  else:
@@ -91,6 +92,7 @@ def parse_mermaid_code(mermaid_code):
91
92
  guid = " "
92
93
  return title, guid, mermaid_code
93
94
 
95
+
94
96
  def construct_mermaid_html(mermaid_str: str) -> str:
95
97
  """Function to display a HTML code in a Jupyter notebook"""
96
98
  title_label, guid, mermaid_code = parse_mermaid_code(mermaid_str)
@@ -215,7 +217,10 @@ def construct_mermaid_html(mermaid_str: str) -> str:
215
217
 
216
218
  return html_section1 + html_section2 + html_section3 + mermaid_code + html_section4
217
219
 
218
- def save_mermaid_html(title: str, mermaid_str: str, folder:str = EGERIA_MERMAID_FOLDER):
220
+
221
+ def save_mermaid_html(
222
+ title: str, mermaid_str: str, folder: str = EGERIA_MERMAID_FOLDER
223
+ ):
219
224
  """Save a Mermaid diagram to a file"""
220
225
  if not os.path.exists(folder):
221
226
  os.makedirs(folder)
@@ -228,9 +233,7 @@ def save_mermaid_html(title: str, mermaid_str: str, folder:str = EGERIA_MERMAID_
228
233
  return mermaid_file
229
234
 
230
235
 
231
-
232
-
233
- def save_mermaid_graph(title, mermaid_str, folder:str = EGERIA_MERMAID_FOLDER):
236
+ def save_mermaid_graph(title, mermaid_str, folder: str = EGERIA_MERMAID_FOLDER):
234
237
  """Save a Mermaid diagram to a file"""
235
238
  if not os.path.exists(folder):
236
239
  os.makedirs(folder)
@@ -354,7 +357,6 @@ def save_mermaid_graph(title, mermaid_str, folder:str = EGERIA_MERMAID_FOLDER):
354
357
  return mermaid_file
355
358
 
356
359
 
357
-
358
360
  def generate_process_graph(
359
361
  process_guid: str,
360
362
  view_server: str = EGERIA_VIEW_SERVER,
@@ -11,9 +11,7 @@ import asyncio
11
11
 
12
12
  from httpx import Response
13
13
 
14
- from pyegeria import body_slimmer
15
-
16
-
14
+ from pyegeria.utils import body_slimmer
17
15
  from pyegeria._client import Client, max_paging_size
18
16
  from pyegeria._globals import default_time_out
19
17
 
@@ -112,7 +110,9 @@ class MetadataExplorer(Client):
112
110
  self.platform_url = platform_url
113
111
  self.user_id = user_id
114
112
  self.user_pwd = user_pwd
115
- self.metadata_explorer_command_root: str = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/metadata-explorer"
113
+ self.metadata_explorer_command_root: str = (
114
+ f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/metadata-explorer"
115
+ )
116
116
  Client.__init__(
117
117
  self,
118
118
  view_server,
@@ -489,7 +489,6 @@ class MetadataExplorer(Client):
489
489
  )
490
490
  return response
491
491
 
492
-
493
492
  async def _async_get_metadata_element_by_unique_name(
494
493
  self,
495
494
  name: str,
@@ -3,10 +3,11 @@
3
3
  This module contains the MyProfile class and its methods.
4
4
 
5
5
  """
6
+
6
7
  import asyncio
7
8
  import json
8
9
 
9
- from pyegeria import body_slimmer
10
+ from pyegeria.utils import body_slimmer
10
11
  from pyegeria._client import Client
11
12
  from pyegeria._validators import validate_name, validate_search_string
12
13
 
@@ -12,15 +12,15 @@ import json
12
12
 
13
13
  import httpx
14
14
 
15
- from pyegeria import Client, enable_ssl_check
16
- from pyegeria._validators import validate_user_id
15
+ from pyegeria._client import Client, enable_ssl_check
17
16
  from pyegeria._exceptions import (
18
- OMAGCommonErrorCode,
19
17
  InvalidParameterException,
20
- UserNotAuthorizedException,
18
+ OMAGCommonErrorCode,
21
19
  PropertyServerException,
20
+ UserNotAuthorizedException,
22
21
  print_exception_response,
23
22
  )
23
+ from pyegeria._validators import validate_user_id
24
24
 
25
25
 
26
26
  class Platform(Client):
@@ -6,15 +6,13 @@ Copyright Contributors to the ODPi Egeria project.
6
6
  https://egeria-project.org/concepts/project
7
7
 
8
8
  """
9
+
9
10
  import asyncio
10
11
  import time
11
12
 
12
13
  # import json
13
14
  from pyegeria._client import Client
14
- from pyegeria._validators import (
15
- validate_guid,
16
- validate_search_string,
17
- )
15
+ from pyegeria._validators import validate_guid, validate_search_string
18
16
  from pyegeria.utils import body_slimmer
19
17
 
20
18
 
@@ -5,17 +5,14 @@ Copyright Contributors to the ODPi Egeria project.
5
5
  Runtime manager is a view service that supports user interaction with the running platforms.
6
6
 
7
7
  """
8
+
8
9
  import asyncio
9
10
 
10
11
  from requests import Response
11
-
12
- from pyegeria import (
13
- Client,
14
- max_paging_size,
15
- body_slimmer,
16
- InvalidParameterException,
17
- default_time_out,
18
- )
12
+ from pyegeria.utils import body_slimmer
13
+ from pyegeria._client import Client
14
+ from pyegeria import TEMPLATE_GUIDS, max_paging_size,default_time_out
15
+ from pyegeria._exceptions import InvalidParameterException
19
16
 
20
17
 
21
18
  class RuntimeManager(Client):
@@ -10,7 +10,7 @@ import asyncio
10
10
 
11
11
  from requests import Response
12
12
 
13
- from pyegeria import Platform
13
+ from pyegeria.platform_services import Platform
14
14
  from pyegeria._validators import validate_name
15
15
 
16
16
 
@@ -8,25 +8,27 @@ https://egeria-project.org/concepts/information-supply-chain
8
8
  """
9
9
 
10
10
  import asyncio
11
+ import os
12
+ import sys
11
13
 
12
14
  from httpx import Response
13
15
 
14
- from pyegeria import body_slimmer
16
+ from pyegeria.utils import body_slimmer
15
17
  from pyegeria._client import Client, max_paging_size
16
- import sys
17
- import os
18
+
18
19
  sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
19
20
 
20
21
  NO_ELEMENTS_FOUND = "No Elements Found"
21
22
 
22
23
  DEFAULT_BODY_SKELETON = {
23
- 'effective_time' : None,
24
- 'limitResultsByStatus' : ['ACTIVE'],
25
- 'asOfTime' : None,
26
- 'sequencingOrder' : None,
27
- 'sequencingProperty' : None,
28
- 'filter' : None
29
- }
24
+ "effective_time": None,
25
+ "limitResultsByStatus": ["ACTIVE"],
26
+ "asOfTime": None,
27
+ "sequencingOrder": None,
28
+ "sequencingProperty": None,
29
+ "filter": None,
30
+ }
31
+
30
32
 
31
33
  def query_seperator(current_string):
32
34
  if current_string == "":
@@ -83,8 +85,10 @@ class SolutionArchitect(Client):
83
85
  self.platform_url = platform_url
84
86
  self.user_id = user_id
85
87
  self.user_pwd = user_pwd
86
- self.solution_architect_command_root: str = (f"{self.platform_url}/servers/{self.view_server}"
87
- f"/api/open-metadata/solution-architect")
88
+ self.solution_architect_command_root: str = (
89
+ f"{self.platform_url}/servers/{self.view_server}"
90
+ f"/api/open-metadata/solution-architect"
91
+ )
88
92
  Client.__init__(
89
93
  self,
90
94
  view_server,
@@ -98,16 +102,17 @@ class SolutionArchitect(Client):
98
102
  #
99
103
  #
100
104
 
101
- async def _async_find_information_supply_chains(self,
102
- filter: str = "*",
103
- add_implementation: bool = True,
104
- starts_with: bool = True,
105
- ends_with: bool = False,
106
- ignore_case: bool = False,
107
- start_from: int = 0,
108
- page_size: int = max_paging_size,
109
- body: dict = None,) ->list[dict] | str:
110
-
105
+ async def _async_find_information_supply_chains(
106
+ self,
107
+ filter: str = "*",
108
+ add_implementation: bool = True,
109
+ starts_with: bool = True,
110
+ ends_with: bool = False,
111
+ ignore_case: bool = False,
112
+ start_from: int = 0,
113
+ page_size: int = max_paging_size,
114
+ body: dict = None,
115
+ ) -> list[dict] | str:
111
116
  """Retrieve the list of information supply chain metadata elements that contain the search string.
112
117
  https://egeria-project.org/concepts/information-supply-chain
113
118
  Async version.
@@ -174,16 +179,17 @@ class SolutionArchitect(Client):
174
179
  )
175
180
  return response.json().get("elements", NO_ELEMENTS_FOUND)
176
181
 
177
- def find_information_supply_chains(self,
178
- filter: str = "*",
179
- add_implementation: bool = True,
180
- starts_with: bool = True,
181
- ends_with: bool = False,
182
- ignore_case: bool = False,
183
- start_from: int = 0,
184
- page_size: int = max_paging_size,
185
- body: dict = None) -> list[dict] | str:
186
-
182
+ def find_information_supply_chains(
183
+ self,
184
+ filter: str = "*",
185
+ add_implementation: bool = True,
186
+ starts_with: bool = True,
187
+ ends_with: bool = False,
188
+ ignore_case: bool = False,
189
+ start_from: int = 0,
190
+ page_size: int = max_paging_size,
191
+ body: dict = None,
192
+ ) -> list[dict] | str:
187
193
  """Retrieve the list of information supply chain metadata elements that contain the search string.
188
194
  https://egeria-project.org/concepts/information-supply-chain
189
195
 
@@ -227,30 +233,32 @@ class SolutionArchitect(Client):
227
233
  ignore_case,
228
234
  start_from,
229
235
  page_size,
230
- body,)
236
+ body,
237
+ )
231
238
  )
232
239
  return response
233
240
 
241
+ def find_all_information_supply_chains(
242
+ self, start_from: int = 0, page_size: int = max_paging_size
243
+ ) -> list[dict] | str:
244
+ """Retrieve a list of all information supply chains
245
+ https://egeria-project.org/concepts/information-supply-chain
246
+ """
234
247
 
235
- def find_all_information_supply_chains(self, start_from: int = 0, page_size: int = max_paging_size) \
236
- -> list[dict] | str:
237
- """Retrieve a list of all information supply chains
238
- https://egeria-project.org/concepts/information-supply-chain
239
- """
240
-
241
- return (self.find_information_supply_chains('*', start_from = start_from, page_size = page_size ))
242
-
243
-
244
-
245
- async def _async_find_solution_blueprints(self,
246
- filter: str = "*",
247
- starts_with: bool = True,
248
- ends_with: bool = False,
249
- ignore_case: bool = False,
250
- start_from: int = 0,
251
- page_size: int = max_paging_size,
252
- body: dict = None,) ->list[dict] | str:
248
+ return self.find_information_supply_chains(
249
+ "*", start_from=start_from, page_size=page_size
250
+ )
253
251
 
252
+ async def _async_find_solution_blueprints(
253
+ self,
254
+ filter: str = "*",
255
+ starts_with: bool = True,
256
+ ends_with: bool = False,
257
+ ignore_case: bool = False,
258
+ start_from: int = 0,
259
+ page_size: int = max_paging_size,
260
+ body: dict = None,
261
+ ) -> list[dict] | str:
254
262
  """Retrieve the solution blueprint elements that contain the search string.
255
263
  https://egeria-project.org/concepts/solution-blueprint
256
264
  Async version.
@@ -293,7 +301,7 @@ class SolutionArchitect(Client):
293
301
  ]
294
302
  )
295
303
 
296
- if filter is None or filter== "*":
304
+ if filter is None or filter == "*":
297
305
  search_filter = None
298
306
  else:
299
307
  search_filter = filter
@@ -314,15 +322,16 @@ class SolutionArchitect(Client):
314
322
  )
315
323
  return response.json().get("elements", NO_ELEMENTS_FOUND)
316
324
 
317
- def find_solution_blueprints(self,
318
- filter: str = "*",
319
- starts_with: bool = True,
320
- ends_with: bool = False,
321
- ignore_case: bool = False,
322
- start_from: int = 0,
323
- page_size: int = max_paging_size,
324
- body: dict = None) -> list[dict] | str:
325
-
325
+ def find_solution_blueprints(
326
+ self,
327
+ filter: str = "*",
328
+ starts_with: bool = True,
329
+ ends_with: bool = False,
330
+ ignore_case: bool = False,
331
+ start_from: int = 0,
332
+ page_size: int = max_paging_size,
333
+ body: dict = None,
334
+ ) -> list[dict] | str:
326
335
  """Retrieve the list of solution blueprint elements that contain the search string.
327
336
  https://egeria-project.org/concepts/solution-blueprint
328
337
 
@@ -363,27 +372,31 @@ class SolutionArchitect(Client):
363
372
  ignore_case,
364
373
  start_from,
365
374
  page_size,
366
- body,)
375
+ body,
376
+ )
367
377
  )
368
378
  return response
369
379
 
370
- def find_all_solution_blueprints(self, start_from: int = 0, page_size: int = max_paging_size) \
371
- -> list[dict] | str:
380
+ def find_all_solution_blueprints(
381
+ self, start_from: int = 0, page_size: int = max_paging_size
382
+ ) -> list[dict] | str:
372
383
  """Retrieve a list of all solution blueprint elements
373
384
  https://egeria-project.org/concepts/solution-blueprint
374
385
  """
375
- return (self.find_solution_blueprints('*', start_from = start_from, page_size = page_size ))
376
-
377
-
378
- async def _async_find_solution_roles(self,
379
- filter: str = "*",
380
- starts_with: bool = True,
381
- ends_with: bool = False,
382
- ignore_case: bool = False,
383
- start_from: int = 0,
384
- page_size: int = max_paging_size,
385
- body: dict = None,) ->list[dict] | str:
386
+ return self.find_solution_blueprints(
387
+ "*", start_from=start_from, page_size=page_size
388
+ )
386
389
 
390
+ async def _async_find_solution_roles(
391
+ self,
392
+ filter: str = "*",
393
+ starts_with: bool = True,
394
+ ends_with: bool = False,
395
+ ignore_case: bool = False,
396
+ start_from: int = 0,
397
+ page_size: int = max_paging_size,
398
+ body: dict = None,
399
+ ) -> list[dict] | str:
387
400
  """Retrieve the solutio nrole elements that contain the search string.
388
401
  https://egeria-project.org/concepts/actor
389
402
  Async version.
@@ -426,7 +439,7 @@ class SolutionArchitect(Client):
426
439
  ]
427
440
  )
428
441
 
429
- if filter is None or filter== "*":
442
+ if filter is None or filter == "*":
430
443
  search_filter = None
431
444
  else:
432
445
  search_filter = filter
@@ -447,15 +460,16 @@ class SolutionArchitect(Client):
447
460
  )
448
461
  return response.json().get("elements", NO_ELEMENTS_FOUND)
449
462
 
450
- def find_solution_roles(self,
451
- filter: str = "*",
452
- starts_with: bool = True,
453
- ends_with: bool = False,
454
- ignore_case: bool = False,
455
- start_from: int = 0,
456
- page_size: int = max_paging_size,
457
- body: dict = None) -> list[dict] | str:
458
-
463
+ def find_solution_roles(
464
+ self,
465
+ filter: str = "*",
466
+ starts_with: bool = True,
467
+ ends_with: bool = False,
468
+ ignore_case: bool = False,
469
+ start_from: int = 0,
470
+ page_size: int = max_paging_size,
471
+ body: dict = None,
472
+ ) -> list[dict] | str:
459
473
  """Retrieve the list of solution role elements that contain the search string.
460
474
  https://egeria-project.org/concepts/actor
461
475
 
@@ -496,28 +510,29 @@ class SolutionArchitect(Client):
496
510
  ignore_case,
497
511
  start_from,
498
512
  page_size,
499
- body,)
513
+ body,
514
+ )
500
515
  )
501
516
  return response
502
517
 
503
- def find_all_solution_roles(self, start_from: int = 0, page_size: int = max_paging_size) \
504
- -> list[dict] | str:
518
+ def find_all_solution_roles(
519
+ self, start_from: int = 0, page_size: int = max_paging_size
520
+ ) -> list[dict] | str:
505
521
  """Retrieve a list of all solution blueprint elements
506
- https://egeria-project.org/concepts/actor
522
+ https://egeria-project.org/concepts/actor
507
523
  """
508
- return (self.find_solution_roles('*', start_from = start_from, page_size = page_size ))
509
-
510
-
511
-
512
- async def _async_find_solution_components(self,
513
- filter: str = "*",
514
- starts_with: bool = True,
515
- ends_with: bool = False,
516
- ignore_case: bool = False,
517
- start_from: int = 0,
518
- page_size: int = max_paging_size,
519
- body: dict = None,) ->list[dict] | str:
524
+ return self.find_solution_roles("*", start_from=start_from, page_size=page_size)
520
525
 
526
+ async def _async_find_solution_components(
527
+ self,
528
+ filter: str = "*",
529
+ starts_with: bool = True,
530
+ ends_with: bool = False,
531
+ ignore_case: bool = False,
532
+ start_from: int = 0,
533
+ page_size: int = max_paging_size,
534
+ body: dict = None,
535
+ ) -> list[dict] | str:
521
536
  """Retrieve the solution component elements that contain the search string.
522
537
  https://egeria-project.org/concepts/solution-components
523
538
  Async version.
@@ -560,7 +575,7 @@ class SolutionArchitect(Client):
560
575
  ]
561
576
  )
562
577
 
563
- if filter is None or filter== "*":
578
+ if filter is None or filter == "*":
564
579
  search_filter = None
565
580
  else:
566
581
  search_filter = filter
@@ -581,15 +596,16 @@ class SolutionArchitect(Client):
581
596
  )
582
597
  return response.json().get("elements", NO_ELEMENTS_FOUND)
583
598
 
584
- def find_solution_components(self,
585
- filter: str = "*",
586
- starts_with: bool = True,
587
- ends_with: bool = False,
588
- ignore_case: bool = False,
589
- start_from: int = 0,
590
- page_size: int = max_paging_size,
591
- body: dict = None) -> list[dict] | str:
592
-
599
+ def find_solution_components(
600
+ self,
601
+ filter: str = "*",
602
+ starts_with: bool = True,
603
+ ends_with: bool = False,
604
+ ignore_case: bool = False,
605
+ start_from: int = 0,
606
+ page_size: int = max_paging_size,
607
+ body: dict = None,
608
+ ) -> list[dict] | str:
593
609
  """Retrieve the list of solution component elements that contain the search string.
594
610
  https://egeria-project.org/concepts/solution-components
595
611
 
@@ -630,20 +646,20 @@ class SolutionArchitect(Client):
630
646
  ignore_case,
631
647
  start_from,
632
648
  page_size,
633
- body,)
649
+ body,
650
+ )
634
651
  )
635
652
  return response
636
653
 
637
- def find_all_solution_components(self, start_from: int = 0, page_size: int = max_paging_size) \
638
- -> list[dict] | str:
654
+ def find_all_solution_components(
655
+ self, start_from: int = 0, page_size: int = max_paging_size
656
+ ) -> list[dict] | str:
639
657
  """Retrieve a list of all solution component elements
640
- https://egeria-project.org/concepts/solution-components
658
+ https://egeria-project.org/concepts/solution-components
641
659
  """
642
- return self.find_solution_components('*', start_from = start_from, page_size = page_size )
643
-
644
-
645
-
646
-
660
+ return self.find_solution_components(
661
+ "*", start_from=start_from, page_size=page_size
662
+ )
647
663
 
648
664
 
649
665
  if __name__ == "__main__":
@@ -5,17 +5,12 @@ Copyright Contributors to the ODPi Egeria project.
5
5
  Template manager is a view service that supports managing metadata elements using templates.
6
6
 
7
7
  """
8
- import asyncio
9
8
 
10
- from requests import Response
9
+ import asyncio
11
10
 
12
- from pyegeria import (
13
- Client,
14
- max_paging_size,
15
- body_slimmer,
16
- InvalidParameterException,
17
- default_time_out,
18
- )
11
+ from pyegeria._client import Client
12
+ from pyegeria._globals import default_time_out
13
+ from pyegeria.utils import body_slimmer
19
14
 
20
15
 
21
16
  class TemplateManager(Client):
pyegeria/utils.py CHANGED
@@ -5,9 +5,11 @@ Copyright Contributors to the ODPi Egeria project.
5
5
  General utility functions in support of the Egeria Python Client package.
6
6
 
7
7
  """
8
+
8
9
  import json
9
- from rich import print, print_json
10
10
  from datetime import datetime
11
+
12
+ from rich import print, print_json
11
13
  from rich.console import Console
12
14
 
13
15
  console = Console(width=200)
@@ -5,6 +5,7 @@ Copyright Contributors to the ODPi Egeria project.
5
5
  Maintain and explore the contents of nested collections.
6
6
 
7
7
  """
8
+
8
9
  import asyncio
9
10
 
10
11
  # import json
@@ -7,13 +7,10 @@ Copyright Contributors to the ODPi Egeria project.
7
7
 
8
8
  """
9
9
 
10
+
10
11
  from requests import Response
12
+ from pyegeria.automated_curation_omvs import AutomatedCuration
11
13
 
12
- from pyegeria._exceptions import (
13
- InvalidParameterException,
14
- )
15
- from pyegeria import Platform, AutomatedCuration
16
- import asyncio
17
14
 
18
15
 
19
16
  class ActionAuthor(AutomatedCuration):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyegeria
3
- Version: 5.3.4.1
3
+ Version: 5.3.4.3
4
4
  Summary: A python client for Egeria
5
5
  License: Apache 2.0
6
6
  Keywords: egeria,metadata,governance