pyegeria 5.3.4.2__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 (394) 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.2.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.2.dist-info/RECORD +0 -436
  392. {pyegeria-5.3.4.2.dist-info → pyegeria-5.3.4.3.dist-info}/LICENSE +0 -0
  393. {pyegeria-5.3.4.2.dist-info → pyegeria-5.3.4.3.dist-info}/WHEEL +0 -0
  394. {pyegeria-5.3.4.2.dist-info → pyegeria-5.3.4.3.dist-info}/entry_points.txt +0 -0
pyegeria/.DS_Store ADDED
Binary file
pyegeria/__init__.py CHANGED
@@ -4,80 +4,82 @@ Copyright Contributors to the ODPi Egeria project.
4
4
 
5
5
  This is the pyegeria client package. The purpose of the package is to provide
6
6
  easy access to Egeria (https://egeria-project.org). The package is currently in
7
- development.
7
+ development.
8
8
 
9
9
  The first capabilities are around Egeria's platform services used to start and stop
10
- the server platform and servers.
10
+ the server platform and servers.
11
11
 
12
12
  """
13
13
 
14
14
  from ._globals import (
15
- is_debug,
15
+ INTEGRATION_GUIDS,
16
+ TEMPLATE_GUIDS,
17
+ default_time_out,
16
18
  disable_ssl_warnings,
17
19
  enable_ssl_check,
20
+ is_debug,
18
21
  max_paging_size,
19
- TEMPLATE_GUIDS,
20
- INTEGRATION_GUIDS,
21
- default_time_out,
22
22
  )
23
23
 
24
24
  if disable_ssl_warnings:
25
- from urllib3.exceptions import InsecureRequestWarning
26
25
  from urllib3 import disable_warnings
26
+ from urllib3.exceptions import InsecureRequestWarning
27
27
 
28
28
  disable_warnings(InsecureRequestWarning)
29
29
 
30
+ from ._client import Client
31
+ from ._deprecated_gov_engine import GovEng
30
32
  from ._exceptions import (
31
33
  InvalidParameterException,
32
34
  PropertyServerException,
33
35
  UserNotAuthorizedException,
34
36
  print_exception_response,
35
37
  )
36
-
37
- from .utils import print_response, body_slimmer
38
- from ._client import Client
39
- from .automated_curation_omvs import AutomatedCuration
40
- from .core_omag_server_config import CoreServerConfig
41
- from .platform_services import Platform
42
- from .registered_info import RegisteredInfo
43
- from .glossary_browser_omvs import GlossaryBrowser
44
38
  from ._validators import (
45
- validate_user_id,
46
- validate_name,
39
+ is_json,
47
40
  validate_guid,
48
- validate_server_name,
41
+ validate_name,
42
+ validate_public,
49
43
  validate_search_string,
44
+ validate_server_name,
50
45
  validate_url,
51
- is_json,
52
- validate_public,
46
+ validate_user_id,
53
47
  )
54
48
  from .asset_catalog_omvs import AssetCatalog
55
-
56
- from .my_profile_omvs import MyProfile
57
- from .full_omag_server_config import FullServerConfig
58
- from .server_operations import ServerOps
49
+ from .automated_curation_omvs import AutomatedCuration
50
+ from .classification_manager_omvs import ClassificationManager
59
51
  from .collection_manager_omvs import CollectionManager
60
- from .project_manager_omvs import ProjectManager
61
- from .valid_metadata_omvs import ValidMetadataManager
62
- from .asset_catalog_omvs import AssetCatalog
63
- from ._deprecated_gov_engine import GovEng
64
- from .runtime_manager_omvs import RuntimeManager
65
- from .x_action_author_omvs import ActionAuthor
66
- from .glossary_manager_omvs import GlossaryManager
52
+ from .core_omag_server_config import CoreServerConfig
67
53
  from .create_tech_guid_lists import build_global_guid_lists
68
- from .classification_manager_omvs import ClassificationManager
54
+ from .egeria_cat_client import EgeriaCat
55
+ from .egeria_client import Egeria
56
+ from .egeria_config_client import EgeriaConfig
57
+ from .egeria_my_client import EgeriaMy
58
+ from .egeria_tech_client import EgeriaTech
69
59
  from .feedback_manager_omvs import FeedbackManager
60
+ from .full_omag_server_config import FullServerConfig
61
+ from .glossary_browser_omvs import GlossaryBrowser
62
+ from .glossary_manager_omvs import GlossaryManager
63
+ from .mermaid_utilities import (
64
+ construct_mermaid_html,
65
+ generate_process_graph,
66
+ load_mermaid,
67
+ parse_mermaid_code,
68
+ render_mermaid,
69
+ save_mermaid_graph,
70
+ save_mermaid_html,
71
+ )
70
72
  from .metadata_explorer_omvs import MetadataExplorer
71
- from .mermaid_utilities import (load_mermaid, render_mermaid, generate_process_graph, save_mermaid_graph,
72
- save_mermaid_html,construct_mermaid_html,parse_mermaid_code)
73
- from .egeria_my_client import EgeriaMy
74
-
73
+ from .my_profile_omvs import MyProfile
74
+ from .platform_services import Platform
75
+ from .project_manager_omvs import ProjectManager
76
+ from .registered_info import RegisteredInfo
77
+ from .runtime_manager_omvs import RuntimeManager
78
+ from .server_operations import ServerOps
75
79
  from .solution_architect_omvs import SolutionArchitect
76
-
77
- from .egeria_cat_client import EgeriaCat
78
- from .egeria_tech_client import EgeriaTech
79
- from .egeria_config_client import EgeriaConfig
80
- from .egeria_client import Egeria
80
+ from .utils import body_slimmer, print_response
81
+ from .valid_metadata_omvs import ValidMetadataManager
82
+ from .x_action_author_omvs import ActionAuthor
81
83
 
82
84
  #
83
85
  # The following assignments were generated by the `create_tech_guid_lists.py` utility that uses the pyegeria functions
@@ -289,9 +291,9 @@ TEMPLATE_GUIDS["Data File"] = "66d8dda9-00cf-4e59-938c-4b0583596b1e"
289
291
  TEMPLATE_GUIDS["View Server"] = "fd61ca01-390d-4aa2-a55d-426826aa4e1b"
290
292
  TEMPLATE_GUIDS["Archive File"] = "7578e504-d00f-406d-a194-3fc0a351cdf9"
291
293
  TEMPLATE_GUIDS["Unity Catalog Catalog"] = "5ee006aa-a6d6-411b-9b8d-5f720c079cae"
292
- TEMPLATE_GUIDS[
293
- "PostgreSQL Relational Database"
294
- ] = "3d398b3f-7ae6-4713-952a-409f3dea8520"
294
+ TEMPLATE_GUIDS["PostgreSQL Relational Database"] = (
295
+ "3d398b3f-7ae6-4713-952a-409f3dea8520"
296
+ )
295
297
  INTEGRATION_GUIDS["PostgreSQLDatabase"] = "ef301220-7dfe-4c6c-bb9d-8f92d9f63823"
296
298
  TEMPLATE_GUIDS["Program File"] = "32d27e9c-1fdf-455a-ad2a-42b4d7d99108"
297
299
  TEMPLATE_GUIDS["JDBC Endpoint"] = "3d79ce50-1887-4627-ad71-ba4649aba2bc"
@@ -309,9 +311,9 @@ TEMPLATE_GUIDS["YAML File"] = "2221855b-2b64-4b45-a2ee-c40adc5e2a64"
309
311
  TEMPLATE_GUIDS["Metadata Access Server"] = "bd8de890-fa79-4c24-aab8-20b41b5893dd"
310
312
  TEMPLATE_GUIDS["Properties File"] = "3b281111-a0ef-4fc4-99e7-9a0ef84a7636"
311
313
  TEMPLATE_GUIDS["Vector Data File"] = "db1bec7f-55a9-40d3-91c0-a57b76d422e2"
312
- TEMPLATE_GUIDS[
313
- "Databricks Unity Catalog Server"
314
- ] = "3f7f62f6-4abc-424e-9f92-523306e7d5d5"
314
+ TEMPLATE_GUIDS["Databricks Unity Catalog Server"] = (
315
+ "3f7f62f6-4abc-424e-9f92-523306e7d5d5"
316
+ )
315
317
  TEMPLATE_GUIDS["Executable File"] = "3d99a163-7a13-4576-a212-784010a8302a"
316
318
  INTEGRATION_GUIDS["OpenLineageAPIPublisher"] = "2156bc98-973a-4859-908d-4ccc96f53cc5"
317
319
  TEMPLATE_GUIDS["Unity Catalog Table"] = "6cc1e5f5-4c1e-4290-a80e-e06643ffb13d"
@@ -324,9 +326,9 @@ TEMPLATE_GUIDS["Spreadsheet Data File"] = "e4fabff5-2ba9-4050-9076-6ed917970b4c"
324
326
  TEMPLATE_GUIDS["UNIX File System"] = "27117270-8667-41d0-a99a-9118f9b60199"
325
327
  TEMPLATE_GUIDS["Video Data File"] = "93b2b722-ec0f-4da4-960a-b8d4922f8bf5"
326
328
  TEMPLATE_GUIDS["Unity Catalog Function"] = "a490ba65-6104-4213-9be9-524e16fed8aa"
327
- TEMPLATE_GUIDS[
328
- "PostgreSQL Relational Database Schema"
329
- ] = "82a5417c-d882-4271-8444-4c6a996a8bfc"
329
+ TEMPLATE_GUIDS["PostgreSQL Relational Database Schema"] = (
330
+ "82a5417c-d882-4271-8444-4c6a996a8bfc"
331
+ )
330
332
  TEMPLATE_GUIDS["Engine Host"] = "1764a891-4234-45f1-8cc3-536af40c790d"
331
333
  TEMPLATE_GUIDS["Avro Data File"] = "9f5be428-058e-41dd-b506-3a222283b579"
332
334
  TEMPLATE_GUIDS["Unity Catalog Volume"] = "92d2d2dc-0798-41f0-9512-b10548d312b7"
@@ -336,32 +338,32 @@ INTEGRATION_GUIDS["OpenLineageKafkaListener"] = "980b989c-de78-4e6a-a58d-51049d7
336
338
  TEMPLATE_GUIDS["Script File"] = "dbd5e6bb-1ff8-46f4-a007-fb0485f68c92"
337
339
  TEMPLATE_GUIDS["Raster Data File"] = "47211156-f03f-4881-8526-015e695a3dac"
338
340
  TEMPLATE_GUIDS["Data Folder"] = "372a0379-7060-4c9d-8d84-bc709b31794c"
339
- INTEGRATION_GUIDS[
340
- "MaintainDataFolderLastUpdateDate"
341
- ] = "fd26f07c-ae44-4bc5-b457-37b43112224f"
341
+ INTEGRATION_GUIDS["MaintainDataFolderLastUpdateDate"] = (
342
+ "fd26f07c-ae44-4bc5-b457-37b43112224f"
343
+ )
342
344
  INTEGRATION_GUIDS["OpenLineageFilePublisher"] = "6271b678-7d22-4cdf-87b1-45b366beaf4e"
343
345
  TEMPLATE_GUIDS["OMAG Server Platform"] = "9b06c4dc-ddc8-47ae-b56b-28775d3a96f0"
344
346
  INTEGRATION_GUIDS["OMAGServerPlatform"] = "dee84e6e-7a96-4975-86c1-152fb3ab759b"
345
347
  INTEGRATION_GUIDS["OpenLineageAPIPublisher"] = "2156bc98-973a-4859-908d-4ccc96f53cc5"
346
- INTEGRATION_GUIDS[
347
- "UnityCatalogInsideCatalogSynchronizer"
348
- ] = "74dde22f-2249-4ea3-af2b-b39e73f79b81"
348
+ INTEGRATION_GUIDS["UnityCatalogInsideCatalogSynchronizer"] = (
349
+ "74dde22f-2249-4ea3-af2b-b39e73f79b81"
350
+ )
349
351
  INTEGRATION_GUIDS["PostgreSQLServerCataloguer"] = "36f69fd0-54ba-4f59-8a44-11ccf2687a34"
350
- INTEGRATION_GUIDS[
351
- "PostgreSQLDatabaseCataloguer"
352
- ] = "ef301220-7dfe-4c6c-bb9d-8f92d9f63823"
352
+ INTEGRATION_GUIDS["PostgreSQLDatabaseCataloguer"] = (
353
+ "ef301220-7dfe-4c6c-bb9d-8f92d9f63823"
354
+ )
353
355
  INTEGRATION_GUIDS["JDBCDatabaseCataloguer"] = "70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa"
354
356
  INTEGRATION_GUIDS["FilesCataloguer"] = "1b98cdac-dd0a-4621-93db-99ef5a1098bc"
355
357
  INTEGRATION_GUIDS["SampleDataCataloguer"] = "cd6479e1-2fe7-4426-b358-8a0cf70be117"
356
- INTEGRATION_GUIDS[
357
- "OpenLineageGovernanceActionPublisher"
358
- ] = "206f8faf-04da-4b6f-8280-eeee3943afeb"
359
- INTEGRATION_GUIDS[
360
- "OMAGServerPlatformCataloguer"
361
- ] = "dee84e6e-7a96-4975-86c1-152fb3ab759b"
362
- INTEGRATION_GUIDS[
363
- "UnityCatalogServerSynchronizer"
364
- ] = "06d068d9-9e08-4e67-8c59-073bbf1013af"
358
+ INTEGRATION_GUIDS["OpenLineageGovernanceActionPublisher"] = (
359
+ "206f8faf-04da-4b6f-8280-eeee3943afeb"
360
+ )
361
+ INTEGRATION_GUIDS["OMAGServerPlatformCataloguer"] = (
362
+ "dee84e6e-7a96-4975-86c1-152fb3ab759b"
363
+ )
364
+ INTEGRATION_GUIDS["UnityCatalogServerSynchronizer"] = (
365
+ "06d068d9-9e08-4e67-8c59-073bbf1013af"
366
+ )
365
367
  INTEGRATION_GUIDS["MaintainLastUpdateDate"] = "fd26f07c-ae44-4bc5-b457-37b43112224f"
366
368
  INTEGRATION_GUIDS["OpenLineageKafkaListener"] = "980b989c-de78-4e6a-a58d-51049d7381bf"
367
369
  INTEGRATION_GUIDS["OpenLineageFilePublisher"] = "6271b678-7d22-4cdf-87b1-45b366beaf4e"
pyegeria/_client.py CHANGED
@@ -6,32 +6,30 @@ This is a simple class to create and manage a connection to an Egeria backend. I
6
6
  different client capabilities. It also provides the common methods used to make restful self.session to Egeria.
7
7
 
8
8
  """
9
+
9
10
  import asyncio
10
11
  import inspect
11
12
  import json
12
13
  import os
13
14
  from datetime import datetime
14
15
 
15
- from pyegeria import body_slimmer
16
16
  import httpx
17
17
  from httpx import AsyncClient, Response
18
18
 
19
+ from pyegeria.utils import body_slimmer
19
20
  from pyegeria._exceptions import (
20
- OMAGCommonErrorCode,
21
21
  InvalidParameterException,
22
+ OMAGCommonErrorCode,
22
23
  PropertyServerException,
23
24
  UserNotAuthorizedException,
24
25
  )
25
- from pyegeria._globals import (
26
- max_paging_size,
27
- enable_ssl_check,
28
- )
26
+ from pyegeria._globals import enable_ssl_check, max_paging_size
29
27
  from pyegeria._validators import (
28
+ is_json,
30
29
  validate_name,
31
30
  validate_server_name,
32
31
  validate_url,
33
32
  validate_user_id,
34
- is_json,
35
33
  )
36
34
 
37
35
  ...
@@ -471,7 +469,9 @@ class Client:
471
469
  msg = OMAGCommonErrorCode.CLIENT_SIDE_REST_API_ERROR.value[
472
470
  "message_template"
473
471
  ].format(
474
- str(response.status_code) + " " + datetime.now().strftime("%H: %M: %S") ,
472
+ str(response.status_code)
473
+ + " "
474
+ + datetime.now().strftime("%H: %M: %S"),
475
475
  caller_method,
476
476
  class_name,
477
477
  endpoint,
pyegeria/_exceptions.py CHANGED
@@ -19,31 +19,31 @@ Note that not all of the definitions are currently used - they merely serve as p
19
19
 
20
20
 
21
21
  class EgeriaErrorCode(Enum):
22
- """ Egeria error codes """
22
+ """Egeria error codes"""
23
23
 
24
24
  def __str__(self):
25
25
  return (
26
- "http_error_code="
27
- + self.value["http_error_code"]
28
- + "messageId="
29
- + self.value["message_id"]
30
- + ", message="
31
- + self.value["message_template"]
32
- + ", systemAction="
33
- + self.value["system_action"]
34
- + ", userAction="
35
- + self.value["user_action"]
26
+ "http_error_code="
27
+ + self.value["http_error_code"]
28
+ + "messageId="
29
+ + self.value["message_id"]
30
+ + ", message="
31
+ + self.value["message_template"]
32
+ + ", systemAction="
33
+ + self.value["system_action"]
34
+ + ", userAction="
35
+ + self.value["user_action"]
36
36
  )
37
37
 
38
38
 
39
39
  class OMAGServerInstanceErrorCode(EgeriaErrorCode):
40
- """ OMAGServer instance error codes """
40
+ """OMAGServer instance error codes"""
41
41
 
42
42
  BAD_SERVER_SECURITY_CONNECTION = dict(
43
43
  https_error_code="400",
44
44
  message_id="OMAG-MULTI-TENANT-400-001",
45
45
  message_template="The OMAG server {0} has been configured with a bad connection to its security connector."
46
- + " Error message is {1}. Connection is {2}",
46
+ + " Error message is {1}. Connection is {2}",
47
47
  system_action="The system is unable to validate the users issuing requests to this server.",
48
48
  user_action="Review the error message to determine the cause of the problem.",
49
49
  )
@@ -55,11 +55,11 @@ class OMAGServerInstanceErrorCode(EgeriaErrorCode):
55
55
  SERVICES_NOT_SHUTDOWN = dict(
56
56
  https_error_code="400",
57
57
  message_id="OMAG-MULTI-TENANT-400-002",
58
- message_template="The OMAG server {0} has been requested to shutdown but the following services " +
59
- "are still running: {1}",
58
+ message_template="The OMAG server {0} has been requested to shutdown but the following services "
59
+ + "are still running: {1}",
60
60
  system_action="The system is unable to shutdown the server correctly.",
61
61
  user_action="Review other error messages to determine the cause of the problem."
62
- + " This is likely to be a logic error in the services listed in the message",
62
+ + " This is likely to be a logic error in the services listed in the message",
63
63
  )
64
64
 
65
65
  """
@@ -70,8 +70,8 @@ class OMAGServerInstanceErrorCode(EgeriaErrorCode):
70
70
  https_error_code="400",
71
71
  message_id="OMAG-MULTI-TENANT-400-003",
72
72
  message_template="Method {0} called on behalf of the {1} service is unable to create a client-side open "
73
- + "metadata topic connection because the topic name is not configured in the configuration "
74
- + "for this service.",
73
+ + "metadata topic connection because the topic name is not configured in the configuration "
74
+ + "for this service.",
75
75
  system_action="This is a configuration error and an exception is sent to the requester.",
76
76
  user_action="Correct the configuration of the access service to include the name of the topic.",
77
77
  )
@@ -84,10 +84,10 @@ class OMAGServerInstanceErrorCode(EgeriaErrorCode):
84
84
  https_error_code="400",
85
85
  message_id="OMAG-MULTI-TENANT-400-004",
86
86
  message_template="The connector provider class name {0} does not create a connector of class {1} which is"
87
- + " required for the {2}",
87
+ + " required for the {2}",
88
88
  system_action="An invalid parameter exception is returned to the caller.",
89
89
  user_action="Either change the connector or the hosting environment because the current"
90
- + " combination is not compatible.",
90
+ + " combination is not compatible.",
91
91
  )
92
92
 
93
93
  """
@@ -98,9 +98,9 @@ class OMAGServerInstanceErrorCode(EgeriaErrorCode):
98
98
  message_id="OMAG-MULTI-TENANT-404-001",
99
99
  message_template="The OMAG Server {0} is not available to service a request from user {1}",
100
100
  system_action="The system is unable to process the request because the server"
101
- + " is not running on the called platform.",
101
+ + " is not running on the called platform.",
102
102
  user_action="Verify that the correct server is being called on the correct platform and that this server "
103
- + "is running. Retry the request when the server is available.",
103
+ + "is running. Retry the request when the server is available.",
104
104
  )
105
105
 
106
106
  """
@@ -112,8 +112,8 @@ class OMAGServerInstanceErrorCode(EgeriaErrorCode):
112
112
  message_template="The {0} service is not available on OMAG Server {1} to handle a request from user {2}",
113
113
  system_action="The system is unable to process the request because the service is not available.",
114
114
  user_action="Verify that the correct server is being called on the correct platform and that the "
115
- + "requested service is configured to run there. "
116
- + "Once the correct environment is in place, retry the request.",
115
+ + "requested service is configured to run there. "
116
+ + "Once the correct environment is in place, retry the request.",
117
117
  )
118
118
 
119
119
  """
@@ -136,7 +136,7 @@ class OMAGServerInstanceErrorCode(EgeriaErrorCode):
136
136
  message_id="OMAG-MULTI-TENANT-404-004",
137
137
  message_template="The open metadata repository services are not initialized for the {0} operation",
138
138
  system_action="The system is unable to connect to the open metadata repository services because"
139
- + " they are not running in this server.",
139
+ + " they are not running in this server.",
140
140
  user_action="Check that the server where the called service is running initialized correctly. "
141
141
  + "Correct any errors discovered and retry the request when the open metadata services are available.",
142
142
  )
@@ -150,10 +150,10 @@ class OMAGServerInstanceErrorCode(EgeriaErrorCode):
150
150
  message_id="OMAG-MULTI-TENANT-404-005",
151
151
  message_template="The open metadata repository services are not available for the {0} operation",
152
152
  system_action="The system is unable to connect to the open metadata repository services because"
153
- " they are not in the correct state to be called.",
153
+ " they are not in the correct state to be called.",
154
154
  user_action="Check that the server where the called service is running initialized correctly and is not"
155
- + " in the process of shutting down. Correct any errors discovered and retry the"
156
- + " request when the open metadata repository services are available.",
155
+ + " in the process of shutting down. Correct any errors discovered and retry the"
156
+ + " request when the open metadata repository services are available.",
157
157
  ),
158
158
  )
159
159
 
@@ -177,12 +177,12 @@ class OMAGCommonErrorCode(EgeriaErrorCode):
177
177
  http_error_code="503",
178
178
  message_id="CLIENT-SIDE-REST-API-CONNECTOR-503-002",
179
179
  message_template="A client-side error {0} was received by method {1} from API call {2} during the call {3}."
180
- + " The error message was {4}",
180
+ + " The error message was {4}",
181
181
  system_action="The client has issued a call to the open metadata access service REST API in a remote server"
182
- + " and has received an exception from the local client libraries.",
182
+ + " and has received an exception from the local client libraries.",
183
183
  user_action="Review the error message to determine the cause of the error. Check that the server is running"
184
- + " and the URL is correct. Look for errors in the local server's console to understand and"
185
- + " correct the cause of the error. Then rerun the request",
184
+ + " and the URL is correct. Look for errors in the local server's console to understand and"
185
+ + " correct the cause of the error. Then rerun the request",
186
186
  )
187
187
 
188
188
  EXCEPTION_RESPONSE_FROM_API = dict(
@@ -190,10 +190,10 @@ class OMAGCommonErrorCode(EgeriaErrorCode):
190
190
  message_id="SERVER-SIDE-REST-API-ERROR-503-003 ",
191
191
  message_template="A {0} exception was received from REST API call {1} to server {2}: error message was: {3}",
192
192
  system_action="The system has issued a call to an open metadata access service REST API in a remote server"
193
- + " and has received an exception response.",
193
+ + " and has received an exception response.",
194
194
  user_action="The error message should indicate the cause of the error. "
195
- + "Otherwise look for errors in the remote server's audit log and console to understand and "
196
- + "correct the source of the error.",
195
+ + "Otherwise look for errors in the remote server's audit log and console to understand and "
196
+ + "correct the source of the error.",
197
197
  )
198
198
 
199
199
  SERVER_URL_NOT_SPECIFIED = dict(
@@ -256,7 +256,7 @@ class OMAGCommonErrorCode(EgeriaErrorCode):
256
256
  http_error_code="400",
257
257
  message_id="OMAG-COMMON-400-008",
258
258
  message_template="The starting point for the results {0}, passed on the {1} parameter of the {2}"
259
- + " operation, is negative",
259
+ + " operation, is negative",
260
260
  system_action="The system is unable to process the request with this invalid value."
261
261
  + "It should be zero for the start of the values, or a number greater than 0"
262
262
  + "to start partway down the list.",
@@ -266,10 +266,10 @@ class OMAGCommonErrorCode(EgeriaErrorCode):
266
266
  NEGATIVE_PAGE_SIZE = dict(
267
267
  http_error_code="400",
268
268
  message_id="OMAG-COMMON-400-009",
269
- message_template="The page size for the results {0}, passed on the {1} parameter of the {2} operation, " +
270
- "is negative",
269
+ message_template="The page size for the results {0}, passed on the {1} parameter of the {2} operation, "
270
+ + "is negative",
271
271
  system_action="The system is unable to process the request with this invalid value. "
272
- + "It should be zero to return all the result, or greater than zero to set a maximum.",
272
+ + "It should be zero to return all the result, or greater than zero to set a maximum.",
273
273
  user_action="Correct the code in the caller to provide a non-negative value for the page size.",
274
274
  )
275
275
 
@@ -277,8 +277,8 @@ class OMAGCommonErrorCode(EgeriaErrorCode):
277
277
  http_error_code="400",
278
278
  message_id="OMAG-COMMON-400-010",
279
279
  message_template=(
280
- "The number of records to return, {0}, passed on the {1} parameter of the {2} operation, "
281
- + "is greater than the allowable maximum of {3}"
280
+ "The number of records to return, {0}, passed on the {1} parameter of the {2} operation, "
281
+ + "is greater than the allowable maximum of {3}"
282
282
  ),
283
283
  system_action="The system is unable to process the request with this page size value.",
284
284
  user_action="Correct the code in the caller to provide a smaller page size.",
@@ -322,6 +322,7 @@ class EgeriaException(Exception):
322
322
  Define the Egeria exceptions raised during error handling. Modeled on the exceptions defined in the Egeria core.
323
323
 
324
324
  """
325
+
325
326
  raw_error_message = ""
326
327
 
327
328
  def __init__(self, response_body) -> None:
@@ -331,12 +332,20 @@ class EgeriaException(Exception):
331
332
  self.exception_class_name = response_dict["exceptionClassName"]
332
333
  self.action_description = response_dict["actionDescription"]
333
334
  self.exception_error_message = response_dict["exceptionErrorMessage"]
334
- self.exception_error_message_id = response_dict.get("exceptionErrorMessageId", "UNKNOWN-ERROR-CODE")
335
+ self.exception_error_message_id = response_dict.get(
336
+ "exceptionErrorMessageId", "UNKNOWN-ERROR-CODE"
337
+ )
335
338
 
336
339
  # self.exception_error_message_id = response_dict["exceptionErrorMessageId"]
337
- self.exception_error_message_parameters = response_dict.get("exceptionErrorMessageParameters", "{}")
338
- self.exception_system_action = response_dict.get("exceptionSystemAction", "UNKNOWN-SYSTEM-ACTION")
339
- self.exception_user_action = response_dict.get("exceptionUserAction", "UNKNOWN-USER-ACTION")
340
+ self.exception_error_message_parameters = response_dict.get(
341
+ "exceptionErrorMessageParameters", "{}"
342
+ )
343
+ self.exception_system_action = response_dict.get(
344
+ "exceptionSystemAction", "UNKNOWN-SYSTEM-ACTION"
345
+ )
346
+ self.exception_user_action = response_dict.get(
347
+ "exceptionUserAction", "UNKNOWN-USER-ACTION"
348
+ )
340
349
 
341
350
  def __str__(self):
342
351
  return self.exception_error_message
@@ -364,7 +373,7 @@ class UserNotAuthorizedException(EgeriaException):
364
373
 
365
374
 
366
375
  def print_exception_response(e: EgeriaException):
367
- """ Prints the exception response """
376
+ """Prints the exception response"""
368
377
 
369
378
  if isinstance(e, EgeriaException):
370
379
  print(f"\n\nException: {e.response_class}")
pyegeria/_globals.py CHANGED
@@ -34,4 +34,3 @@ star_ratings = (
34
34
 
35
35
  TEMPLATE_GUIDS: dict = {}
36
36
  INTEGRATION_GUIDS: dict = {}
37
-
pyegeria/_validators.py CHANGED
@@ -2,14 +2,14 @@
2
2
  SPDX-License-Identifier: Apache-2.0
3
3
  Copyright Contributors to the ODPi Egeria project.
4
4
  """
5
+
5
6
  import inspect
6
7
  import json
7
- import validators
8
8
  from json import JSONDecodeError
9
- from pyegeria._exceptions import (
10
- OMAGCommonErrorCode,
11
- InvalidParameterException,
12
- )
9
+
10
+ import validators
11
+
12
+ from pyegeria._exceptions import InvalidParameterException, OMAGCommonErrorCode
13
13
 
14
14
  """
15
15
  This package contains internally used validators.
@@ -8,15 +8,16 @@ Copyright Contributors to the ODPi Egeria project.
8
8
  This file is in active development...
9
9
 
10
10
  """
11
+
11
12
  import asyncio
12
13
  import json
13
14
 
14
15
  from httpx import Response
16
+ from pyegeria.utils import body_slimmer
17
+ from pyegeria._client import Client
18
+ from pyegeria import TEMPLATE_GUIDS, max_paging_size
19
+ from pyegeria._exceptions import InvalidParameterException
15
20
 
16
- from pyegeria import Client, max_paging_size, body_slimmer, TEMPLATE_GUIDS
17
- from pyegeria._exceptions import (
18
- InvalidParameterException,
19
- )
20
21
  from ._validators import validate_search_string
21
22
 
22
23
 
@@ -5,18 +5,22 @@ Copyright Contributors to the ODPi Egeria project.
5
5
  Automated Curation View Service Methods
6
6
 
7
7
  """
8
+
8
9
  import asyncio
9
10
  import datetime
10
11
 
11
12
  from httpx import Response
12
13
 
13
- from pyegeria import Client, max_paging_size, body_slimmer, TEMPLATE_GUIDS
14
+ from pyegeria.utils import body_slimmer
15
+ from pyegeria._client import Client
16
+ from pyegeria import TEMPLATE_GUIDS, max_paging_size
14
17
  from pyegeria._exceptions import (
15
18
  InvalidParameterException,
16
19
  PropertyServerException,
17
20
  UserNotAuthorizedException,
18
21
  )
19
- from ._validators import validate_name, validate_guid, validate_search_string
22
+
23
+ from ._validators import validate_guid, validate_name, validate_search_string
20
24
 
21
25
 
22
26
  class AutomatedCuration(Client):
@@ -9,7 +9,7 @@ import asyncio
9
9
 
10
10
  from httpx import Response
11
11
 
12
- from pyegeria import body_slimmer
12
+ from pyegeria.utils import body_slimmer
13
13
 
14
14
  # import json
15
15
  from pyegeria._client import Client, max_paging_size
@@ -70,7 +70,9 @@ class ClassificationManager(Client):
70
70
  self.platform_url = platform_url
71
71
  self.user_id = user_id
72
72
  self.user_pwd = user_pwd
73
- self.classification_command_root: str = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/classification-manager"
73
+ self.classification_command_root: str = (
74
+ f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/classification-manager"
75
+ )
74
76
  Client.__init__(
75
77
  self,
76
78
  view_server,
@@ -802,7 +804,7 @@ class ClassificationManager(Client):
802
804
  async def _async_get_element_guid_by_unique_name(
803
805
  self,
804
806
  name: str,
805
- property_name: str = 'qualifiedName',
807
+ property_name: str = "qualifiedName",
806
808
  for_lineage: bool = False,
807
809
  for_duplicate_processing: bool = False,
808
810
  effective_time: str = None,
@@ -1547,7 +1549,7 @@ class ClassificationManager(Client):
1547
1549
  UserNotAuthorizedException
1548
1550
  the requesting user is not authorized to issue this request.
1549
1551
  """
1550
- if property_value is '*':
1552
+ if property_value is "*":
1551
1553
  property_value = None
1552
1554
 
1553
1555
  possible_query_params = query_string(
@@ -5,15 +5,13 @@ 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
  import time
10
11
 
11
12
  # import json
12
13
  from pyegeria._client import Client
13
- from pyegeria._validators import (
14
- validate_guid,
15
- validate_search_string,
16
- )
14
+ from pyegeria._validators import validate_guid, validate_search_string
17
15
  from pyegeria.utils import body_slimmer
18
16
 
19
17
 
@@ -52,7 +50,9 @@ class CollectionManager(Client):
52
50
  self.user_id = user_id
53
51
  self.user_pwd = user_pwd
54
52
 
55
- self.collection_command_root: str = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/collection-manager/collections"
53
+ self.collection_command_root: str = (
54
+ f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/collection-manager/collections"
55
+ )
56
56
  Client.__init__(self, view_server, platform_url, user_id, user_pwd, token)
57
57
 
58
58
  #
Binary file