pyegeria 5.3.4.7.dev3__py3-none-any.whl → 5.3.4.9__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 (318) hide show
  1. pyegeria/__init__.py +8 -0
  2. pyegeria/_client.py +4 -4
  3. pyegeria/_globals.py +9 -0
  4. pyegeria/asset_catalog_omvs.py +4 -4
  5. pyegeria/automated_curation_omvs.py +1 -0
  6. pyegeria/classification_manager_omvs.py +32 -32
  7. pyegeria/collection_manager_omvs.py +6 -6
  8. pyegeria/commands/cat/__init__.py +22 -1
  9. pyegeria/commands/cat/get_collection.py +1 -1
  10. pyegeria/commands/cat/list_terms.py +2 -0
  11. pyegeria/commands/my/__init__.py +22 -0
  12. pyegeria/commands/my/list_my_profile.py +0 -2
  13. pyegeria/commands/ops/__init__.py +17 -17
  14. pyegeria/commands/tech/__init__.py +22 -0
  15. pyegeria/commands/tech/list_information_supply_chains.py +25 -9
  16. pyegeria/commands/tech/list_solution_blueprints.py +6 -5
  17. pyegeria/commands/tech/list_solution_components.py +1 -1
  18. pyegeria/commands/tech/list_solution_roles.py +6 -5
  19. pyegeria/commands/tech/work/mermaid_graphs/components/Accounting ledgers.html +137 -113
  20. pyegeria/commands/tech/work/mermaid_graphs/components/Analyse Patient Data.html +147 -122
  21. pyegeria/commands/tech/work/mermaid_graphs/components/Assemble Treatment Assessment Report.html +145 -120
  22. pyegeria/commands/tech/work/mermaid_graphs/components/Certify Hospital.html +128 -117
  23. pyegeria/commands/tech/work/mermaid_graphs/components/Employee Expense Tool.html +137 -113
  24. pyegeria/commands/tech/work/mermaid_graphs/components/Goods Inventory.html +138 -114
  25. pyegeria/commands/tech/work/mermaid_graphs/components/Hazardous Materials (HazMat) Inventory.html +138 -114
  26. pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Landing Area Folder.html +144 -117
  27. pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Processes.html +144 -120
  28. pyegeria/commands/tech/work/mermaid_graphs/components/Landing Folder Cataloguer.html +142 -117
  29. pyegeria/commands/tech/work/mermaid_graphs/components/Nominate Hospital.html +128 -117
  30. pyegeria/commands/tech/work/mermaid_graphs/components/Onboard Hospital.html +128 -117
  31. pyegeria/commands/tech/work/mermaid_graphs/components/Populate Sandbox.html +142 -117
  32. pyegeria/commands/tech/work/mermaid_graphs/components/Set up Data Lake Folder.html +129 -118
  33. pyegeria/commands/tech/work/mermaid_graphs/components/Set up clinical trial.html +128 -117
  34. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Calculators.html +138 -116
  35. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Dashboards.html +149 -117
  36. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Operational Data Store (ODS).html +162 -129
  37. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Assessment Report Validation and Delivery.html +140 -120
  38. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Efficacy Evidence.html +144 -117
  39. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Validation Sandbox.html +144 -117
  40. pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Data Lake Folder.html +148 -117
  41. pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Onboarding Pipeline.html +148 -123
  42. pyegeria/create_tech_guid_lists.py +1 -1
  43. pyegeria/feedback_manager_omvs.py +1 -1
  44. pyegeria/glossary_browser_omvs.py +1 -1
  45. pyegeria/glossary_manager_omvs.py +9 -9
  46. pyegeria/mermaid_utilities.py +113 -122
  47. pyegeria/metadata_explorer_omvs.py +1 -2
  48. pyegeria/my_profile_omvs.py +1 -1
  49. pyegeria/project_manager_omvs.py +4 -4
  50. pyegeria/runtime_manager_omvs.py +1 -1
  51. pyegeria/solution_architect_omvs.py +2 -2
  52. pyegeria/template_manager_omvs.py +1 -1
  53. pyegeria/valid_metadata_omvs.py +2 -2
  54. {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/METADATA +1 -1
  55. pyegeria-5.3.4.9.dist-info/RECORD +267 -0
  56. pyegeria/.DS_Store +0 -0
  57. pyegeria/commands/.DS_Store +0 -0
  58. pyegeria/commands/__pycache__/__init__.cpython-312.pyc +0 -0
  59. pyegeria/commands/__pycache__/server_status_widget.cpython-312-pytest-7.4.4.pyc +0 -0
  60. pyegeria/commands/cat/__pycache__/__init__.cpython-312.pyc +0 -0
  61. pyegeria/commands/cat/__pycache__/get_asset_graph.cpython-312.pyc +0 -0
  62. pyegeria/commands/cat/__pycache__/get_collection.cpython-312.pyc +0 -0
  63. pyegeria/commands/cat/__pycache__/get_project_dependencies.cpython-312.pyc +0 -0
  64. pyegeria/commands/cat/__pycache__/get_project_structure.cpython-312.pyc +0 -0
  65. pyegeria/commands/cat/__pycache__/get_tech_type_elements.cpython-312.pyc +0 -0
  66. pyegeria/commands/cat/__pycache__/glossary_actions.cpython-312.pyc +0 -0
  67. pyegeria/commands/cat/__pycache__/list_assets.cpython-312.pyc +0 -0
  68. pyegeria/commands/cat/__pycache__/list_cert_types.cpython-312.pyc +0 -0
  69. pyegeria/commands/cat/__pycache__/list_collections.cpython-312.pyc +0 -0
  70. pyegeria/commands/cat/__pycache__/list_deployed_catalogs.cpython-312.pyc +0 -0
  71. pyegeria/commands/cat/__pycache__/list_deployed_database_schemas.cpython-312.pyc +0 -0
  72. pyegeria/commands/cat/__pycache__/list_deployed_databases.cpython-312.pyc +0 -0
  73. pyegeria/commands/cat/__pycache__/list_glossaries.cpython-312.pyc +0 -0
  74. pyegeria/commands/cat/__pycache__/list_projects.cpython-312.pyc +0 -0
  75. pyegeria/commands/cat/__pycache__/list_servers_deployed_imp.cpython-312.pyc +0 -0
  76. pyegeria/commands/cat/__pycache__/list_tech_type_elements.cpython-312.pyc +0 -0
  77. pyegeria/commands/cat/__pycache__/list_tech_types.cpython-312.pyc +0 -0
  78. pyegeria/commands/cat/__pycache__/list_terms.cpython-312.pyc +0 -0
  79. pyegeria/commands/cat/__pycache__/list_todos.cpython-312.pyc +0 -0
  80. pyegeria/commands/cat/__pycache__/list_user_ids.cpython-312.pyc +0 -0
  81. pyegeria/commands/cli/__pycache__/__init__.cpython-312.pyc +0 -0
  82. pyegeria/commands/cli/__pycache__/egeria_login_tui.cpython-312.pyc +0 -0
  83. pyegeria/commands/cli/__pycache__/egeria_ops.cpython-312.pyc +0 -0
  84. pyegeria/commands/cli/__pycache__/ops_config.cpython-312.pyc +0 -0
  85. pyegeria/commands/doc/.DS_Store +0 -0
  86. pyegeria/commands/doc/Visual Command Reference/.DS_Store +0 -0
  87. pyegeria/commands/doc/Visual Command Reference/cat/.DS_Store +0 -0
  88. pyegeria/commands/doc/Visual Command Reference/cat/show/.DS_Store +0 -0
  89. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/.DS_Store +0 -0
  90. pyegeria/commands/doc/glossary/.DS_Store +0 -0
  91. pyegeria/commands/doc/glossary/images/.DS_Store +0 -0
  92. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/.DS_Store +0 -0
  93. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/.DS_Store +0 -0
  94. pyegeria/commands/my/__pycache__/__init__.cpython-312.pyc +0 -0
  95. pyegeria/commands/my/__pycache__/list_my_profile.cpython-312.pyc +0 -0
  96. pyegeria/commands/my/__pycache__/list_my_roles.cpython-312.pyc +0 -0
  97. pyegeria/commands/my/__pycache__/monitor_my_todos.cpython-312.pyc +0 -0
  98. pyegeria/commands/my/__pycache__/monitor_open_todos.cpython-312.pyc +0 -0
  99. pyegeria/commands/my/__pycache__/todo_actions.cpython-312.pyc +0 -0
  100. pyegeria/commands/ops/__pycache__/__init__.cpython-312.pyc +0 -0
  101. pyegeria/commands/ops/__pycache__/gov_server_actions.cpython-312.pyc +0 -0
  102. pyegeria/commands/ops/__pycache__/list_archives.cpython-312.pyc +0 -0
  103. pyegeria/commands/ops/__pycache__/list_catalog_targets.cpython-312.pyc +0 -0
  104. pyegeria/commands/ops/__pycache__/load_archive.cpython-312.pyc +0 -0
  105. pyegeria/commands/ops/__pycache__/monitor_engine_activity.cpython-312.pyc +0 -0
  106. pyegeria/commands/ops/__pycache__/monitor_engine_activity_c.cpython-312.pyc +0 -0
  107. pyegeria/commands/ops/__pycache__/monitor_gov_eng_status.cpython-312.pyc +0 -0
  108. pyegeria/commands/ops/__pycache__/monitor_integ_daemon_status.cpython-312.pyc +0 -0
  109. pyegeria/commands/ops/__pycache__/monitor_platform_status.cpython-312.pyc +0 -0
  110. pyegeria/commands/ops/__pycache__/monitor_server_startup.cpython-312.pyc +0 -0
  111. pyegeria/commands/ops/__pycache__/monitor_server_status.cpython-312.pyc +0 -0
  112. pyegeria/commands/ops/__pycache__/refresh_integration_daemon.cpython-312.pyc +0 -0
  113. pyegeria/commands/ops/__pycache__/restart_integration_daemon.cpython-312.pyc +0 -0
  114. pyegeria/commands/ops/__pycache__/table_integ_daemon_status.cpython-312.pyc +0 -0
  115. pyegeria/commands/tech/.DS_Store +0 -0
  116. pyegeria/commands/tech/__pycache__/__init__.cpython-312.pyc +0 -0
  117. pyegeria/commands/tech/__pycache__/get_element_info.cpython-312.pyc +0 -0
  118. pyegeria/commands/tech/__pycache__/get_guid_info.cpython-312.pyc +0 -0
  119. pyegeria/commands/tech/__pycache__/get_tech_details.cpython-312.pyc +0 -0
  120. pyegeria/commands/tech/__pycache__/get_tech_type_template.cpython-312.pyc +0 -0
  121. pyegeria/commands/tech/__pycache__/list_all_om_type_elements.cpython-312.pyc +0 -0
  122. pyegeria/commands/tech/__pycache__/list_all_om_type_elements_x.cpython-312.pyc +0 -0
  123. pyegeria/commands/tech/__pycache__/list_all_related_elements.cpython-312.pyc +0 -0
  124. pyegeria/commands/tech/__pycache__/list_anchored_elements.cpython-312.pyc +0 -0
  125. pyegeria/commands/tech/__pycache__/list_asset_types.cpython-312.pyc +0 -0
  126. pyegeria/commands/tech/__pycache__/list_elements_by_classification_by_property_value.cpython-312.pyc +0 -0
  127. pyegeria/commands/tech/__pycache__/list_elements_by_property_value.cpython-312.pyc +0 -0
  128. pyegeria/commands/tech/__pycache__/list_elements_by_property_value_x.cpython-312.pyc +0 -0
  129. pyegeria/commands/tech/__pycache__/list_elements_for_classification.cpython-312.pyc +0 -0
  130. pyegeria/commands/tech/__pycache__/list_gov_action_processes.cpython-312.pyc +0 -0
  131. pyegeria/commands/tech/__pycache__/list_information_supply_chains.cpython-312.pyc +0 -0
  132. pyegeria/commands/tech/__pycache__/list_registered_services.cpython-312.pyc +0 -0
  133. pyegeria/commands/tech/__pycache__/list_related_elements_with_prop_value.cpython-312.pyc +0 -0
  134. pyegeria/commands/tech/__pycache__/list_related_specification.cpython-312.pyc +0 -0
  135. pyegeria/commands/tech/__pycache__/list_relationship_types.cpython-312.pyc +0 -0
  136. pyegeria/commands/tech/__pycache__/list_relationships.cpython-312.pyc +0 -0
  137. pyegeria/commands/tech/__pycache__/list_solution_blueprints.cpython-312.pyc +0 -0
  138. pyegeria/commands/tech/__pycache__/list_solution_components.cpython-312.pyc +0 -0
  139. pyegeria/commands/tech/__pycache__/list_solution_roles.cpython-312.pyc +0 -0
  140. pyegeria/commands/tech/__pycache__/list_tech_templates.cpython-312.pyc +0 -0
  141. pyegeria/commands/tech/__pycache__/list_valid_metadata_values.cpython-312.pyc +0 -0
  142. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Automated Manufacturing Control.html +0 -121
  143. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Clinical Trial Management Solution Blueprint.html +0 -213
  144. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Employee Management Solution Blueprint.html +0 -124
  145. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Hazardous Material Management Solution Blueprint.html +0 -124
  146. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Inventory Management.html +0 -124
  147. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Personalized Medicine Order Fulfillment Solution Blueprint.html +0 -124
  148. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Sustainability Reporting Solution Blueprint.html +0 -149
  149. pyegeria/commands/tech/work/mermaid_graphs/blueprints/{{displayName}}.html +0 -121
  150. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DC-LEADER.html +0 -118
  151. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DEPOT-LEADER.html +0 -118
  152. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-LAB-LEADER.html +0 -118
  153. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-OFFICE-LEADER.html +0 -118
  154. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-SITE-LEADER.html +0 -118
  155. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-DC-LEADER.html +0 -118
  156. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-FACTORY-LEADER.html +0 -118
  157. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-OFFICE-LEADER.html +0 -118
  158. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-SITE-LEADER.html +0 -118
  159. pyegeria/commands/tech/work/mermaid_graphs/roles/C-TRL-SUSTAINABILITY-CHAMP.html +0 -118
  160. pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-CT:ProjectManager.html +0 -118
  161. pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-MM:ProjectManager.html +0 -118
  162. pyegeria/commands/tech/work/mermaid_graphs/roles/CertifiedDataEngineer.html +0 -130
  163. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialManager.html +0 -138
  164. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospital.html +0 -122
  165. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospitalCoordinator.html +0 -122
  166. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialSponsor.html +0 -122
  167. pyegeria/commands/tech/work/mermaid_graphs/roles/Community Leader.html +0 -118
  168. pyegeria/commands/tech/work/mermaid_graphs/roles/CommunityMember.html +0 -118
  169. pyegeria/commands/tech/work/mermaid_graphs/roles/DIST-SUSTAINABILITY-CHAMP.html +0 -118
  170. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DC-LEADER.html +0 -118
  171. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DEPOT-LEADER.html +0 -118
  172. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-FACTORY-LEADER.html +0 -118
  173. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-OFFICE-LEADER.html +0 -118
  174. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-SITE-LEADER.html +0 -118
  175. pyegeria/commands/tech/work/mermaid_graphs/roles/FIN-SUSTAINABILITY-CHAMP.html +0 -118
  176. pyegeria/commands/tech/work/mermaid_graphs/roles/GOVERNANCE_LEADER.html +0 -118
  177. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:0.html +0 -118
  178. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:1.html +0 -118
  179. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:2.html +0 -118
  180. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:3.html +0 -118
  181. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:4.html +0 -118
  182. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:5.html +0 -118
  183. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:6.html +0 -118
  184. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:7.html +0 -118
  185. pyegeria/commands/tech/work/mermaid_graphs/roles/HR-SUSTAINABILITY-CHAMP.html +0 -118
  186. pyegeria/commands/tech/work/mermaid_graphs/roles/IT-SUSTAINABILITY-CHAMP.html +0 -118
  187. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-DEPOT-LEADER.html +0 -118
  188. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-OFFICE-LEADER.html +0 -118
  189. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-SITE-LEADER.html +0 -118
  190. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-DC-LEADER.html +0 -118
  191. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-LAB-LEADER.html +0 -118
  192. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-OFFICE-LEADER.html +0 -118
  193. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-SITE-LEADER.html +0 -118
  194. pyegeria/commands/tech/work/mermaid_graphs/roles/MFG-SUSTAINABILITY-CHAMP.html +0 -118
  195. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-DC-LEADER.html +0 -118
  196. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-LAB-LEADER.html +0 -118
  197. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-OFFICE-LEADER.html +0 -118
  198. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-SITE-LEADER.html +0 -118
  199. pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentDataScientist.html +0 -122
  200. pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentResearcher.html +0 -122
  201. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-001:ProjectManager.html +0 -118
  202. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-002:ProjectManager.html +0 -118
  203. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-003:ProjectManager.html +0 -118
  204. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF:ProjectManager.html +0 -118
  205. pyegeria/commands/tech/work/mermaid_graphs/roles/RES-SUSTAINABILITY-CHAMP.html +0 -118
  206. pyegeria/commands/tech/work/mermaid_graphs/roles/SALES-SUSTAINABILITY-CHAMP.html +0 -118
  207. pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-LEAD.html +0 -118
  208. pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-TECH-LEAD.html +0 -118
  209. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityChampion.html +0 -118
  210. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityExecutive.html +0 -118
  211. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityLeader.html +0 -118
  212. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0001.html +0 -118
  213. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0002.html +0 -118
  214. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0003.html +0 -118
  215. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0004.html +0 -118
  216. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0005.html +0 -118
  217. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0006.html +0 -118
  218. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0007.html +0 -118
  219. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0008.html +0 -118
  220. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0009.html +0 -118
  221. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0010.html +0 -118
  222. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0011.html +0 -118
  223. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0012.html +0 -118
  224. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0013.html +0 -118
  225. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0014.html +0 -118
  226. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0015.html +0 -118
  227. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0016.html +0 -118
  228. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0017.html +0 -118
  229. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0018.html +0 -118
  230. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0019.html +0 -118
  231. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0020.html +0 -118
  232. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0021.html +0 -118
  233. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0022.html +0 -118
  234. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0023.html +0 -118
  235. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0024.html +0 -118
  236. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2343.html +0 -118
  237. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2373.html +0 -118
  238. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3067.html +0 -118
  239. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3082.html +0 -118
  240. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4051.html +0 -118
  241. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4302.html +0 -118
  242. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4332.html +0 -118
  243. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:5656.html +0 -118
  244. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6788.html +0 -118
  245. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6877.html +0 -118
  246. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:7432.html +0 -118
  247. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9657.html +0 -118
  248. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9992.html +0 -118
  249. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9993.html +0 -118
  250. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9994.html +0 -118
  251. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9995.html +0 -118
  252. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9996.html +0 -118
  253. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9997.html +0 -118
  254. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9998.html +0 -118
  255. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9999.html +0 -118
  256. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0001.html +0 -118
  257. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0002.html +0 -118
  258. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0003.html +0 -118
  259. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0004.html +0 -118
  260. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0005.html +0 -118
  261. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0006.html +0 -118
  262. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0007.html +0 -118
  263. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0008.html +0 -118
  264. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0009.html +0 -118
  265. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0010.html +0 -118
  266. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0011.html +0 -118
  267. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0012.html +0 -118
  268. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0013.html +0 -118
  269. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0014.html +0 -118
  270. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0015.html +0 -118
  271. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0016.html +0 -118
  272. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0017.html +0 -118
  273. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0018.html +0 -118
  274. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0019.html +0 -118
  275. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0020.html +0 -118
  276. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0021.html +0 -118
  277. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0022.html +0 -118
  278. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0023.html +0 -118
  279. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0024.html +0 -118
  280. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2343.html +0 -118
  281. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2373.html +0 -118
  282. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3067.html +0 -118
  283. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3082.html +0 -118
  284. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4051.html +0 -118
  285. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4302.html +0 -118
  286. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4332.html +0 -118
  287. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:5656.html +0 -118
  288. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6788.html +0 -118
  289. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6877.html +0 -118
  290. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:7432.html +0 -118
  291. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9657.html +0 -118
  292. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9992.html +0 -118
  293. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9993.html +0 -118
  294. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9994.html +0 -118
  295. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9995.html +0 -118
  296. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9996.html +0 -118
  297. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9997.html +0 -118
  298. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9998.html +0 -118
  299. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9999.html +0 -118
  300. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DC-LEADER.html +0 -118
  301. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DEPOT-LEADER.html +0 -118
  302. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-FACTORY-LEADER.html +0 -118
  303. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-OFFICE-LEADER.html +0 -118
  304. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-SITE-LEADER.html +0 -118
  305. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Subject Onboarding.html +0 -142
  306. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Treatment Validation.html +0 -222
  307. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Employee Expense Payment.html +0 -133
  308. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Drug Product Information Distribution.html +0 -148
  309. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Employee Onboarding.html +0 -145
  310. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Personalized Treatment Ordering.html +0 -150
  311. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Physical Inventory Tracking.html +0 -185
  312. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Sustainability Reporting.html +0 -210
  313. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/{{displayName}}.html +0 -122
  314. pyegeria/test_m.html +0 -213
  315. pyegeria-5.3.4.7.dev3.dist-info/RECORD +0 -526
  316. {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/LICENSE +0 -0
  317. {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/WHEEL +0 -0
  318. {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/entry_points.txt +0 -0
pyegeria/__init__.py CHANGED
@@ -19,6 +19,14 @@ from ._globals import (
19
19
  enable_ssl_check,
20
20
  is_debug,
21
21
  max_paging_size,
22
+ NO_ELEMENTS_FOUND,
23
+ NO_ASSETS_FOUND,
24
+ NO_SERVERS_FOUND,
25
+ NO_CATALOGS_FOUND,
26
+ NO_GLOSSARIES_FOUND,
27
+ NO_TERMS_FOUND,
28
+ NO_CATEGORIES_FOUND,
29
+ NO_ELEMENT_FOUND,
22
30
  )
23
31
 
24
32
  if disable_ssl_warnings:
pyegeria/_client.py CHANGED
@@ -23,7 +23,7 @@ from pyegeria._exceptions import (
23
23
  PropertyServerException,
24
24
  UserNotAuthorizedException,
25
25
  )
26
- from pyegeria._globals import enable_ssl_check, max_paging_size
26
+ from pyegeria._globals import enable_ssl_check, max_paging_size, NO_ELEMENTS_FOUND
27
27
  from pyegeria._validators import (
28
28
  is_json,
29
29
  validate_name,
@@ -693,7 +693,7 @@ class Client:
693
693
  )
694
694
 
695
695
  result = await self._async_make_request("POST", url, body_slimmer(body))
696
- return result.json().get("guid", "No elements found")
696
+ return result.json().get("guid", NO_ELEMENTS_FOUND)
697
697
 
698
698
  try:
699
699
  view_server = self.view_server
@@ -717,7 +717,7 @@ class Client:
717
717
  )
718
718
 
719
719
  result = await self._async_make_request("POST", url, body_slimmer(body))
720
- return result.json().get("guid", "No elements found")
720
+ return result.json().get("guid", NO_ELEMENTS_FOUND)
721
721
  else:
722
722
  body = {
723
723
  "class": "NameRequestBody",
@@ -733,7 +733,7 @@ class Client:
733
733
  )
734
734
 
735
735
  result = await self._async_make_request("POST", url, body_slimmer(body))
736
- return result.json().get("guid", "No elements found")
736
+ return result.json().get("guid", NO_ELEMENTS_FOUND)
737
737
  else:
738
738
  raise InvalidParameterException(
739
739
  "Neither server_guid nor server_name were provided - please provide."
pyegeria/_globals.py CHANGED
@@ -34,3 +34,12 @@ star_ratings = (
34
34
 
35
35
  TEMPLATE_GUIDS: dict = {}
36
36
  INTEGRATION_GUIDS: dict = {}
37
+
38
+ NO_ELEMENTS_FOUND = "No elements found"
39
+ NO_ASSETS_FOUND = "No assets found"
40
+ NO_SERVERS_FOUND = "No servers found"
41
+ NO_CATALOGS_FOUND = "No catalogs found"
42
+ NO_GLOSSARIES_FOUND = "No glossaries found"
43
+ NO_TERMS_FOUND = "No terms found"
44
+ NO_CATEGORIES_FOUND = "No categories found"
45
+ NO_ELEMENT_FOUND = "No element found"
@@ -17,7 +17,7 @@ from pyegeria.utils import body_slimmer
17
17
  from pyegeria._client import Client
18
18
  from pyegeria import TEMPLATE_GUIDS, max_paging_size
19
19
  from pyegeria._exceptions import InvalidParameterException
20
-
20
+ from pyegeria._globals import NO_ELEMENTS_FOUND, NO_ASSETS_FOUND
21
21
  from ._validators import validate_search_string
22
22
 
23
23
 
@@ -366,7 +366,7 @@ class AssetCatalog(Client):
366
366
  )
367
367
  body = {"filter": search_string}
368
368
  response = await self._async_make_request("POST", url, body, time_out=time_out)
369
- return response.json().get("searchMatches", "no assets found")
369
+ return response.json().get("searchMatches", "NO_ASSETS_FOUND")
370
370
 
371
371
  def find_in_asset_domain(
372
372
  self,
@@ -700,7 +700,7 @@ class AssetCatalog(Client):
700
700
  body = {"filter": type_name, "effectiveTime": effective_time}
701
701
  body_s = body_slimmer(body)
702
702
  response = await self._async_make_request("POST", url, body_s)
703
- return response.json().get("assets", "no assets found")
703
+ return response.json().get("assets", "NO_ASSETS_FOUND")
704
704
 
705
705
  def get_assets_by_metadata_collection_id(
706
706
  self,
@@ -778,7 +778,7 @@ class AssetCatalog(Client):
778
778
 
779
779
  response = await self._async_make_request("GET", url)
780
780
 
781
- return response.json().get("types", "No assets found")
781
+ return response.json().get("types", "NO_ASSETS_FOUND")
782
782
 
783
783
  def get_asset_catalog_types(self) -> str | dict:
784
784
  """Return all the elements that are anchored to an asset plus relationships between these elements and to
@@ -12,6 +12,7 @@ import datetime
12
12
  from httpx import Response
13
13
 
14
14
  from pyegeria.utils import body_slimmer
15
+ from pyegeria._globals import NO_ELEMENTS_FOUND
15
16
  from pyegeria._client import Client
16
17
  from pyegeria import TEMPLATE_GUIDS, max_paging_size
17
18
  from pyegeria._exceptions import (
@@ -13,7 +13,7 @@ from pyegeria.utils import body_slimmer
13
13
 
14
14
  # import json
15
15
  from pyegeria._client import Client, max_paging_size
16
- from pyegeria._globals import default_time_out
16
+ from pyegeria._globals import default_time_out, NO_ELEMENTS_FOUND
17
17
 
18
18
 
19
19
  def query_seperator(current_string):
@@ -155,10 +155,10 @@ class ClassificationManager(Client):
155
155
  response: Response = await self._async_make_request(
156
156
  "POST", url, body_slimmer(body), time_out=time_out
157
157
  )
158
- elements = response.json().get("elements", "No elements found")
158
+ elements = response.json().get("elements", NO_ELEMENTS_FOUND)
159
159
  if type(elements) is list:
160
160
  if len(elements) == 0:
161
- return "No elements found"
161
+ return NO_ELEMENTS_FOUND
162
162
  return elements
163
163
 
164
164
  def get_elements(
@@ -304,10 +304,10 @@ class ClassificationManager(Client):
304
304
  "POST", url, body_slimmer(body), time_out=time_out
305
305
  )
306
306
 
307
- elements = response.json().get("elements", "No elements found")
307
+ elements = response.json().get("elements", NO_ELEMENTS_FOUND)
308
308
  if type(elements) is list:
309
309
  if len(elements) == 0:
310
- return "No elements found"
310
+ return NO_ELEMENTS_FOUND
311
311
  return elements
312
312
 
313
313
  def get_elements_by_property_value(
@@ -462,10 +462,10 @@ class ClassificationManager(Client):
462
462
  "POST", url, body_slimmer(body), time_out=time_out
463
463
  )
464
464
 
465
- elements = response.json().get("elements", "No elements found")
465
+ elements = response.json().get("elements", NO_ELEMENTS_FOUND)
466
466
  if type(elements) is list:
467
467
  if len(elements) == 0:
468
- return "No elements found"
468
+ return NO_ELEMENTS_FOUND
469
469
  return elements
470
470
 
471
471
  def find_elements_by_property_value(
@@ -602,7 +602,7 @@ class ClassificationManager(Client):
602
602
  "POST", url, body_slimmer(body), time_out=time_out
603
603
  )
604
604
 
605
- elements = response.json().get("element", "No elements found")
605
+ elements = response.json().get("element", NO_ELEMENTS_FOUND)
606
606
 
607
607
  return elements
608
608
 
@@ -740,7 +740,7 @@ class ClassificationManager(Client):
740
740
  "POST", url, body_slimmer(body), time_out=time_out
741
741
  )
742
742
 
743
- return response.json().get("element", "No elements found")
743
+ return response.json().get("element", NO_ELEMENTS_FOUND)
744
744
 
745
745
  def get_element_by_unique_name(
746
746
  self,
@@ -870,7 +870,7 @@ class ClassificationManager(Client):
870
870
  "POST", url, body_slimmer(body), time_out=time_out
871
871
  )
872
872
 
873
- return response.json().get("guid", "No elements found")
873
+ return response.json().get("guid", NO_ELEMENTS_FOUND)
874
874
 
875
875
  def get_element_guid_by_unique_name(
876
876
  self,
@@ -968,7 +968,7 @@ class ClassificationManager(Client):
968
968
 
969
969
  if type(elements) is list:
970
970
  if len(elements) == 0:
971
- return "No elements found"
971
+ return NO_ELEMENTS_FOUND
972
972
  elif len(elements) > 1:
973
973
  raise Exception("Multiple elements found for supplied name!")
974
974
  elif len(elements) == 1:
@@ -1090,10 +1090,10 @@ class ClassificationManager(Client):
1090
1090
  response: Response = await self._async_make_request(
1091
1091
  "POST", url, body_slimmer(body), time_out=time_out
1092
1092
  )
1093
- elements = response.json().get("elements", "No elements found")
1093
+ elements = response.json().get("elements", NO_ELEMENTS_FOUND)
1094
1094
  if type(elements) is list:
1095
1095
  if len(elements) == 0:
1096
- return "No elements found"
1096
+ return NO_ELEMENTS_FOUND
1097
1097
  return elements
1098
1098
 
1099
1099
  def find_elements_by_property_value(
@@ -1248,10 +1248,10 @@ class ClassificationManager(Client):
1248
1248
  response = await self._async_make_request(
1249
1249
  "POST", url, body_slimmer(body), time_out=time_out
1250
1250
  )
1251
- elements = response.json().get("elements", "No elements found")
1251
+ elements = response.json().get("elements", NO_ELEMENTS_FOUND)
1252
1252
  if type(elements) is list:
1253
1253
  if len(elements) == 0:
1254
- return "No elements found"
1254
+ return NO_ELEMENTS_FOUND
1255
1255
  return elements
1256
1256
 
1257
1257
  def get_elements_by_classification(
@@ -1407,10 +1407,10 @@ class ClassificationManager(Client):
1407
1407
  response = await self._async_make_request(
1408
1408
  "POST", url, body_slimmer(body), time_out=time_out
1409
1409
  )
1410
- elements = response.json().get("elements", "No elements found")
1410
+ elements = response.json().get("elements", NO_ELEMENTS_FOUND)
1411
1411
  if type(elements) is list:
1412
1412
  if len(elements) == 0:
1413
- return "No elements found"
1413
+ return NO_ELEMENTS_FOUND
1414
1414
  return elements
1415
1415
 
1416
1416
  def get_elements_by_classification_with_property_value(
@@ -1549,7 +1549,7 @@ class ClassificationManager(Client):
1549
1549
  UserNotAuthorizedException
1550
1550
  the requesting user is not authorized to issue this request.
1551
1551
  """
1552
- if property_value is "*":
1552
+ if property_value == "*":
1553
1553
  property_value = None
1554
1554
 
1555
1555
  possible_query_params = query_string(
@@ -1576,10 +1576,10 @@ class ClassificationManager(Client):
1576
1576
  response = await self._async_make_request(
1577
1577
  "POST", url, body_slimmer(body), time_out=time_out
1578
1578
  )
1579
- elements = response.json().get("elements", "No elements found")
1579
+ elements = response.json().get("elements", NO_ELEMENTS_FOUND)
1580
1580
  if type(elements) is list:
1581
1581
  if len(elements) == 0:
1582
- return "No elements found"
1582
+ return NO_ELEMENTS_FOUND
1583
1583
  return elements
1584
1584
 
1585
1585
  def find_elements_by_classification_with_property_value(
@@ -1755,10 +1755,10 @@ class ClassificationManager(Client):
1755
1755
  response: Response = await self._async_make_request(
1756
1756
  "POST", url, body_slimmer(body), time_out=time_out
1757
1757
  )
1758
- elements = response.json().get("elements", "No elements found")
1758
+ elements = response.json().get("elements", NO_ELEMENTS_FOUND)
1759
1759
  if type(elements) is list:
1760
1760
  if len(elements) == 0:
1761
- return "No elements found"
1761
+ return NO_ELEMENTS_FOUND
1762
1762
  return elements
1763
1763
 
1764
1764
  def get_related_elements(
@@ -1931,10 +1931,10 @@ class ClassificationManager(Client):
1931
1931
  response: Response = await self._async_make_request(
1932
1932
  "POST", url, body_slimmer(body), time_out=time_out
1933
1933
  )
1934
- elements = response.json().get("elements", "No elements found")
1934
+ elements = response.json().get("elements", NO_ELEMENTS_FOUND)
1935
1935
  if type(elements) is list:
1936
1936
  if len(elements) == 0:
1937
- return "No elements found"
1937
+ return NO_ELEMENTS_FOUND
1938
1938
  return elements
1939
1939
 
1940
1940
  def get_related_elements_with_property_value(
@@ -2117,10 +2117,10 @@ class ClassificationManager(Client):
2117
2117
  "POST", url, body_slimmer(body), time_out=time_out
2118
2118
  )
2119
2119
 
2120
- elements = response.json().get("elements", "No elements found")
2120
+ elements = response.json().get("elements", NO_ELEMENTS_FOUND)
2121
2121
  if type(elements) is list:
2122
2122
  if len(elements) == 0:
2123
- return "No elements found"
2123
+ return NO_ELEMENTS_FOUND
2124
2124
  return elements
2125
2125
 
2126
2126
  def find_related_elements_with_property_value(
@@ -2282,7 +2282,7 @@ class ClassificationManager(Client):
2282
2282
 
2283
2283
  if type(rels) is list:
2284
2284
  if len(rels) == 0:
2285
- return "No elements found"
2285
+ return NO_ELEMENTS_FOUND
2286
2286
  return rels
2287
2287
 
2288
2288
  def get_relationships(
@@ -2426,10 +2426,10 @@ class ClassificationManager(Client):
2426
2426
  response: Response = await self._async_make_request(
2427
2427
  "POST", url, body_slimmer(body), time_out=time_out
2428
2428
  )
2429
- rels = response.json().get("relationships", "No elements found")
2429
+ rels = response.json().get("relationships", NO_ELEMENTS_FOUND)
2430
2430
  if type(rels) is list:
2431
2431
  if len(rels) == 0:
2432
- return "No elements found"
2432
+ return NO_ELEMENTS_FOUND
2433
2433
  return rels
2434
2434
 
2435
2435
  def get_relationships_with_property_value(
@@ -2582,10 +2582,10 @@ class ClassificationManager(Client):
2582
2582
  "POST", url, body_slimmer(body), time_out=time_out
2583
2583
  )
2584
2584
 
2585
- rels = response.json().get("relationships", "No elements found")
2585
+ rels = response.json().get("relationships", NO_ELEMENTS_FOUND)
2586
2586
  if type(rels) is list:
2587
2587
  if len(rels) == 0:
2588
- return "No elements found"
2588
+ return NO_ELEMENTS_FOUND
2589
2589
  return rels
2590
2590
 
2591
2591
  def find_relationships_with_property_value(
@@ -2723,7 +2723,7 @@ class ClassificationManager(Client):
2723
2723
  response: Response = await self._async_make_request(
2724
2724
  "POST", url, body_slimmer(body), time_out=time_out
2725
2725
  )
2726
- element = response.json().get("element", "No elements found")
2726
+ element = response.json().get("element", NO_ELEMENTS_FOUND)
2727
2727
  return element
2728
2728
 
2729
2729
  def retrieve_instance_for_guid(
@@ -13,7 +13,7 @@ import time
13
13
  from pyegeria._client import Client
14
14
  from pyegeria._validators import validate_guid, validate_search_string
15
15
  from pyegeria.utils import body_slimmer
16
-
16
+ from pyegeria._globals import NO_ELEMENTS_FOUND
17
17
 
18
18
  class CollectionManager(Client):
19
19
  """
@@ -202,7 +202,7 @@ class CollectionManager(Client):
202
202
  )
203
203
 
204
204
  resp = await self._async_make_request("POST", url, body)
205
- # result = resp.json().get("elements","No elements found")
205
+ # result = resp.json().get("elements",NO_ELEMENTS_FOUND)
206
206
  result = resp.json().get("elements", "No Elements to return")
207
207
  return result
208
208
 
@@ -325,7 +325,7 @@ class CollectionManager(Client):
325
325
  )
326
326
 
327
327
  resp = await self._async_make_request("POST", url, body_s)
328
- return resp.json().get("elements", "No elements found")
328
+ return resp.json().get("elements", NO_ELEMENTS_FOUND)
329
329
 
330
330
  def find_collections(
331
331
  self,
@@ -450,7 +450,7 @@ class CollectionManager(Client):
450
450
  )
451
451
 
452
452
  resp = await self._async_make_request("POST", url, body_s)
453
- return resp.json().get("elements", "No elements found")
453
+ return resp.json().get("elements", NO_ELEMENTS_FOUND)
454
454
 
455
455
  def get_collections_by_name(
456
456
  self,
@@ -564,7 +564,7 @@ class CollectionManager(Client):
564
564
  )
565
565
 
566
566
  resp = await self._async_make_request("POST", url, body_s)
567
- return resp.json().get("elements", "No elements found")
567
+ return resp.json().get("elements", NO_ELEMENTS_FOUND)
568
568
 
569
569
  def get_collections_by_type(
570
570
  self,
@@ -2239,7 +2239,7 @@ class CollectionManager(Client):
2239
2239
  )
2240
2240
 
2241
2241
  resp = await self._async_make_request("GET", url)
2242
- return resp.json().get("elements", "No elements found")
2242
+ return resp.json().get("elements", NO_ELEMENTS_FOUND)
2243
2243
 
2244
2244
  def get_collection_members(
2245
2245
  self,
@@ -1 +1,22 @@
1
- """Placeholder"""
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+ """
5
+ from pyegeria import (
6
+ INTEGRATION_GUIDS,
7
+ TEMPLATE_GUIDS,
8
+ default_time_out,
9
+ disable_ssl_warnings,
10
+ enable_ssl_check,
11
+ is_debug,
12
+ max_paging_size,
13
+ NO_ELEMENTS_FOUND,
14
+ NO_ASSETS_FOUND,
15
+ NO_SERVERS_FOUND,
16
+ NO_CATALOGS_FOUND,
17
+ NO_GLOSSARIES_FOUND,
18
+ NO_TERMS_FOUND,
19
+ NO_CATEGORIES_FOUND,
20
+ NO_ELEMENT_FOUND,
21
+ )
22
+
@@ -111,7 +111,7 @@ def collection_viewer(
111
111
  PropertyServerException,
112
112
  UserNotAuthorizedException,
113
113
  ) as e:
114
- if e.exception_error_message_parameters[1] == "No elements found":
114
+ if e.exception_error_message_parameters[1] == NO_ELEMENTS_FOUND:
115
115
  print("The collection was not found.")
116
116
  else:
117
117
  print_exception_response(e)
@@ -98,6 +98,8 @@ def display_glossary_terms(
98
98
  f"\nThe glossary name {glossary_name} was not found. Please try using the glossary guid"
99
99
  )
100
100
  sys.exit(1)
101
+ elif (glossary_guid is not None) and (len(glossary_guid) < 10):
102
+ glossary_guid = None
101
103
 
102
104
  def generate_table(search_string: str, glossary_guid: str) -> Table:
103
105
  """Make a new table."""
@@ -0,0 +1,22 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ """
6
+ from pyegeria import (
7
+ INTEGRATION_GUIDS,
8
+ TEMPLATE_GUIDS,
9
+ default_time_out,
10
+ disable_ssl_warnings,
11
+ enable_ssl_check,
12
+ is_debug,
13
+ max_paging_size,
14
+ NO_ELEMENTS_FOUND,
15
+ NO_ASSETS_FOUND,
16
+ NO_SERVERS_FOUND,
17
+ NO_CATALOGS_FOUND,
18
+ NO_GLOSSARIES_FOUND,
19
+ NO_TERMS_FOUND,
20
+ NO_CATEGORIES_FOUND,
21
+ NO_ELEMENT_FOUND,
22
+ )
@@ -3,8 +3,6 @@
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  Copyright Contributors to the ODPi Egeria project.
5
5
 
6
- Unit tests for the Utils helper functions using the Pytest framework.
7
-
8
6
 
9
7
  A simple display for my profile
10
8
  """
@@ -4,20 +4,20 @@ Copyright Contributors to the ODPi Egeria project.
4
4
 
5
5
 
6
6
  """
7
-
8
- #
9
- # from .monitor_integ_daemon_status import display_integration_daemon_status
10
- # from .monitor_gov_eng_status import display_gov_eng_status
11
- # from .monitor_platform_status import display_status as display_platform_status
12
- # from .monitor_server_status import display_status as display_server_status
13
- # from .monitor_engine_activity_c import display_engine_activity_c
14
-
15
- # import monitor_server_status
16
- # import monitor_server_list
17
- # import monitor_integ_daemon_status
18
- # import monitor_platform_status
19
- # import monitor_engine_activity
20
- # import refresh_integration_daemon
21
- # import restart_integration_daemon
22
- # import integration_daemon_actions
23
- # import list_catalog_targets
7
+ from pyegeria import (
8
+ INTEGRATION_GUIDS,
9
+ TEMPLATE_GUIDS,
10
+ default_time_out,
11
+ disable_ssl_warnings,
12
+ enable_ssl_check,
13
+ is_debug,
14
+ max_paging_size,
15
+ NO_ELEMENTS_FOUND,
16
+ NO_ASSETS_FOUND,
17
+ NO_SERVERS_FOUND,
18
+ NO_CATALOGS_FOUND,
19
+ NO_GLOSSARIES_FOUND,
20
+ NO_TERMS_FOUND,
21
+ NO_CATEGORIES_FOUND,
22
+ NO_ELEMENT_FOUND,
23
+ )
@@ -0,0 +1,22 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ """
6
+ from pyegeria import (
7
+ INTEGRATION_GUIDS,
8
+ TEMPLATE_GUIDS,
9
+ default_time_out,
10
+ disable_ssl_warnings,
11
+ enable_ssl_check,
12
+ is_debug,
13
+ max_paging_size,
14
+ NO_ELEMENTS_FOUND,
15
+ NO_ASSETS_FOUND,
16
+ NO_SERVERS_FOUND,
17
+ NO_CATALOGS_FOUND,
18
+ NO_GLOSSARIES_FOUND,
19
+ NO_TERMS_FOUND,
20
+ NO_CATEGORIES_FOUND,
21
+ NO_ELEMENT_FOUND,
22
+ )
@@ -75,10 +75,11 @@ def supply_chain_viewer(
75
75
  expand=True,
76
76
  )
77
77
  table.add_column("Supply Chain Name")
78
- table.add_column("Qualified Name \n/\n GUID", width=38, no_wrap=False)
78
+ table.add_column("Qualified Name \n/\n GUID", justify = 'center', width=38, no_wrap=False)
79
79
  table.add_column("Purposes")
80
- table.add_column("Scope\n/\n Mermaid Link")
81
- table.add_column("Description")
80
+ table.add_column("Scope\n/\n Mermaid Link", justify = 'center')
81
+ table.add_column("Description", justify = 'center')
82
+ table.add_column("Segments", justify = 'center')
82
83
 
83
84
  supply_chains = client.find_information_supply_chains(search_string)
84
85
  if isinstance(supply_chains, list) is False:
@@ -101,13 +102,28 @@ def supply_chain_viewer(
101
102
  link = save_mermaid_html(
102
103
  sc_name, sc_mermaid, f"{EGERIA_MERMAID_FOLDER}/supply-chains"
103
104
  )
104
- sc_mermaid_link = f"file://:{link}"
105
- # print("Visit my [link=https://www.willmcgugan.com]blog[/link]!")
106
- # sc_scope = Text(f"{sc_scope}\n\t\t/\n{sc_mermaid_link}")
107
- sc_scope = f"{sc_scope}\n\t\t/\n![{sc_mermaid_link}]({sc_mermaid_link})"
108
- # sc_scope.stylize("link =" + sc_mermaid_link)
105
+ sc_mermaid_link = Text(f"file://:{link}", style="blue link " + link)
106
+ sc_scope = Text(f"{sc_scope}\n\n/\n\n{sc_mermaid_link}", justify = "center")
107
+
108
+
109
+ sc_segments = sc.get("segments", "---")
110
+ if sc_segments != "---":
111
+ first_segment = True
112
+ sc_segments_md = ""
113
+ for segment in sc_segments:
114
+ seg_prop = segment['properties']
115
+ if first_segment:
116
+ first_segment = False
117
+ else:
118
+ sc_segments_md += "----\n\n" # add a seperator from previous segment
119
+
120
+ for key in seg_prop.keys():
121
+ sc_segments_md += f"* **{key}**: {seg_prop[key]}\n"
122
+ sc_segments_md = Markdown(sc_segments_md)
123
+ else:
124
+ sc_segments_md = "---"
109
125
 
110
- table.add_row(sc_name, sc_unique_name, sc_purpose_str, sc_scope, sc_desc)
126
+ table.add_row(sc_name, sc_unique_name, sc_purpose_str, sc_scope, sc_desc, sc_segments_md)
111
127
 
112
128
  return table
113
129
 
@@ -120,20 +120,21 @@ def blueprint_list(
120
120
  )
121
121
  comp_type = comp_props.get("solutionComponentType", "---")
122
122
 
123
- comp_actors = comp_props.get("actors", [])
124
- comp_actors_list = ""
123
+ comp_actors = comp.get("actors", [])
124
+ comp_actors_list = f"{len(comp_actors)}\n"
125
125
  for actor in comp_actors:
126
126
  comp_actor_role = actor["relationshipProperties"].get("role", "---")
127
127
  comp_actor_props = actor["relatedElement"].get("properties", {})
128
- comp_actor_props_md = f"* Role: {comp_actor_role}\n"
128
+ comp_actor_props_md = f"\n\t* Role: {comp_actor_role}\n"
129
129
  for prop in comp_actor_props.keys():
130
- comp_actor_props_md += f"* {prop}: {comp_actor_props[prop]}\n"
130
+ comp_actor_props_md += f"\n\t\t* {prop}: {comp_actor_props[prop]}"
131
131
  comp_actors_list += comp_actor_props_md
132
132
  if first_comp:
133
133
  first_comp = False
134
134
  else:
135
135
  comp_md += "\n\n---\n\n"
136
- comp_md = f"Solution Component {comp_name}\n\n"
136
+ comp_md += f"Solution Component {comp_name}\n\n"
137
+ comp_md += f"* Type: {comp_type}\n"
137
138
  comp_md += f"* Description: {comp_description}\n"
138
139
  comp_md += f"* Planned Deployment: {comp_planned}\n"
139
140
  comp_md += f"* Actors: {comp_actors_list}\n"
@@ -97,7 +97,7 @@ def solution_component_list(
97
97
  .get("extendedProperties", {})
98
98
  .get("plannedDeployedImplementationType", "---")
99
99
  )
100
- component_info = f"Type: {component_type}\n\n--\n\nPlanned Deployment Type: {planned_deployment_type}"
100
+ component_info = f"Type: {component_type}\n\n--\n\nPlanned Deployment Type: \n{planned_deployment_type}"
101
101
 
102
102
  component_qname = component["properties"].get("qualifiedName", "---")
103
103
  component_guid = component["elementHeader"]["guid"]
@@ -121,18 +121,19 @@ def solution_role_list(
121
121
  comp_props_md = ""
122
122
  first_comp = True
123
123
  for component in role_components:
124
+ if first_comp:
125
+ first_comp = False
126
+ else:
127
+ comp_props_md += "\n\n---\n\n"
124
128
  comp = component.get("relatedElement", "")
125
129
  if isinstance(comp, dict) is False:
126
130
  continue
127
131
  comp_props = comp.get("properties", {})
128
- comp_props_md = ""
132
+
129
133
  for prop in comp_props.keys():
130
134
  comp_props_md += f"* **{prop}**: {comp_props[prop]}\n"
131
135
 
132
- if first_comp:
133
- first_comp = False
134
- else:
135
- comp_props_md += "\n\n---\n\n"
136
+
136
137
 
137
138
  comp_props_out = Markdown(comp_props_md)
138
139
  table.add_row(