pyegeria 1.5.1.0.6__tar.gz → 1.5.1.0.8__tar.gz

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 (107) hide show
  1. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/PKG-INFO +1 -1
  2. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_deployed_catalogs.py +5 -1
  3. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_deployed_database_schemas.py +14 -14
  4. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_deployed_databases.py +1 -1
  5. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/asset_catalog_omvs.py +3 -1
  6. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/automated_curation_omvs.py +1 -1
  7. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyproject.toml +1 -1
  8. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/LICENSE +0 -0
  9. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/README.md +0 -0
  10. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/README.md +0 -0
  11. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/__init__.py +0 -0
  12. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/get_asset_graph.py +0 -0
  13. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/get_collection.py +0 -0
  14. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/get_project_dependencies.py +0 -0
  15. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/get_project_structure.py +0 -0
  16. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/get_tech_type_elements.py +0 -0
  17. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/get_tech_type_template.py +0 -0
  18. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/glossary_actions.py +0 -0
  19. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_archives.py +0 -0
  20. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_assets.py +0 -0
  21. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_cert_types.py +0 -0
  22. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_glossary.py +0 -0
  23. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_projects.py +0 -0
  24. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_relationships.py +0 -0
  25. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_tech_types.py +0 -0
  26. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_todos.py +0 -0
  27. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cat/list_user_ids.py +0 -0
  28. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cli/__init__.py +0 -0
  29. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cli/egeria.py +0 -0
  30. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cli/egeria_cat.py +0 -0
  31. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cli/egeria_my.py +0 -0
  32. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cli/egeria_ops.py +0 -0
  33. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cli/egeria_tech.py +0 -0
  34. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/cli/ops_config.py +0 -0
  35. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/my/README.md +0 -0
  36. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/my/__init__.py +0 -0
  37. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/my/list_my_profile.py +0 -0
  38. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/my/list_my_roles.py +0 -0
  39. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/my/monitor_my_todos.py +0 -0
  40. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/my/monitor_open_todos.py +0 -0
  41. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/my/todo_actions.py +0 -0
  42. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/README.md +0 -0
  43. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/__init__.py +0 -0
  44. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/engine_actions.py +0 -0
  45. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/gov_server_actions.py +0 -0
  46. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/list_catalog_targets.py +0 -0
  47. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/load_archive.py +0 -0
  48. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/monitor_asset_events.py +0 -0
  49. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/monitor_engine_activity.py +0 -0
  50. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/monitor_engine_activity_c.py +0 -0
  51. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/monitor_gov_eng_status.py +0 -0
  52. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/monitor_integ_daemon_status.py +0 -0
  53. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/monitor_platform_status.py +0 -0
  54. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/monitor_server_startup.py +0 -0
  55. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/monitor_server_status.py +0 -0
  56. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/orig_monitor_server_list.py +0 -0
  57. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/orig_monitor_server_status.py +0 -0
  58. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/refresh_integration_daemon.py +0 -0
  59. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/ops/restart_integration_daemon.py +0 -0
  60. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/README.md +0 -0
  61. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/__init__.py +0 -0
  62. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/get_element_graph.py +0 -0
  63. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/get_element_info.py +0 -0
  64. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/get_guid_info.py +0 -0
  65. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/get_tech_details.py +0 -0
  66. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/list_asset_types.py +0 -0
  67. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/list_elements.py +0 -0
  68. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/list_elements_for_classification.py +0 -0
  69. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/list_elements_x.py +0 -0
  70. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/list_gov_action_processes.py +0 -0
  71. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/list_registered_services.py +0 -0
  72. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/list_related_elements.py +0 -0
  73. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/list_related_specification.py +0 -0
  74. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/list_relationship_types.py +0 -0
  75. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/list_tech_templates.py +0 -0
  76. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/list_valid_metadata_values.py +0 -0
  77. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/commands/tech/x_list_related_elements.py +0 -0
  78. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/README.md +0 -0
  79. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/__init__.py +0 -0
  80. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/_client.py +0 -0
  81. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/_deprecated_gov_engine.py +0 -0
  82. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/_exceptions.py +0 -0
  83. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/_globals.py +0 -0
  84. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/_validators.py +0 -0
  85. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/classification_manager_omvs.py +0 -0
  86. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/collection_manager_omvs.py +0 -0
  87. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/core_omag_server_config.py +0 -0
  88. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/create_tech_guid_lists.py +0 -0
  89. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/egeria_cat_client.py +0 -0
  90. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/egeria_client.py +0 -0
  91. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/egeria_config_client.py +0 -0
  92. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/egeria_my_client.py +0 -0
  93. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/egeria_tech_client.py +0 -0
  94. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/feedback_manager_omvs.py +0 -0
  95. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/full_omag_server_config.py +0 -0
  96. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/glossary_browser_omvs.py +0 -0
  97. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/glossary_manager_omvs.py +0 -0
  98. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/mermaid_utilities.py +0 -0
  99. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/my_profile_omvs.py +0 -0
  100. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/platform_services.py +0 -0
  101. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/project_manager_omvs.py +0 -0
  102. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/registered_info.py +0 -0
  103. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/runtime_manager_omvs.py +0 -0
  104. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/server_operations.py +0 -0
  105. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/utils.py +0 -0
  106. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/valid_metadata_omvs.py +0 -0
  107. {pyegeria-1.5.1.0.6 → pyegeria-1.5.1.0.8}/pyegeria/x_action_author_omvs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 1.5.1.0.6
3
+ Version: 1.5.1.0.8
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -114,12 +114,16 @@ def list_deployed_catalogs(
114
114
  )
115
115
  schemas_md = ""
116
116
  if type(schemas) is list:
117
+ cnt = 0
117
118
  for schema in schemas:
118
119
  schema_md = ""
119
120
  schema_props = schema["properties"]
120
121
  for key in schema_props.keys():
121
122
  schema_md += f"* **{key}**: {schema_props[key]}\n"
122
- schemas_md += schema_md
123
+
124
+ spacer = "---\n" if cnt > 0 else ""
125
+ cnt += 1
126
+ schemas_md += f"{spacer}{schema_md}"
123
127
  schemas_md_out = Markdown(schemas_md)
124
128
 
125
129
  element_info = c_client.get_element_by_guid(server_guid)
@@ -137,29 +137,29 @@ def list_deployed_database_schemas(
137
137
  el_props_md += f"* **{prop}**: {element['properties'][prop]}\n"
138
138
  el_props_out = Markdown(el_props_md)
139
139
 
140
- rel_elements = c_client.get_related_elements(
141
- el_guid, "RelationalDBSchemaType"
140
+ rel_elements = c_client.get_elements_by_property_value(
141
+ el_guid, ["anchorGUID"]
142
142
  )
143
143
  schema_md = ""
144
144
  count = 0
145
145
  rel_el_out = ""
146
146
  if type(rel_elements) is list:
147
- print(len(rel_elements))
147
+ len_els = len(rel_elements)
148
+ rel_el_md = ""
149
+ spacer = ""
148
150
  for rel_element in rel_elements:
149
151
  count += 1
150
- rel_type = rel_element["relatedElement"]["elementHeader"][
151
- "type"
152
- ]["typeName"]
153
- rel_guid = rel_element["relatedElement"]["elementHeader"][
154
- "guid"
155
- ]
156
- rel_props = rel_element["relatedElement"]["properties"]
152
+ rel_type = rel_element["elementHeader"]["type"]["typeName"]
153
+ rel_guid = rel_element["elementHeader"]["guid"]
154
+ rel_props = rel_element["properties"]
157
155
  props_md = ""
158
156
  for key in rel_props.keys():
159
- props_md += f"* **{key}**: {rel_props[key]}\n"
160
- rel_el_md = f"* **{rel_type}**: {rel_guid}\n{props_md}"
161
- if count > 1:
162
- rel_el_md += "---\n"
157
+ props_md += f"\t* **{key}**: {rel_props[key]}\n"
158
+ rel_el_md = f"{rel_el_md}\n* **{rel_type}**:\n\t{rel_guid}\n{props_md}{spacer}"
159
+ if count > 1 and count < len_els:
160
+ spacer = "---\n"
161
+ elif count > len_els:
162
+ spacer = ""
163
163
  rel_el_out = Markdown(rel_el_md)
164
164
 
165
165
  table.add_row(
@@ -125,7 +125,7 @@ def list_deployed_databases(
125
125
  for key in rel_props.keys():
126
126
  props_md += f"* **{key}**: {rel_props[key]}\n"
127
127
  rel_el_md = f"* **{rel_type}**: {rel_guid}\n{props_md}"
128
- if count > 1:
128
+ if count >= 1:
129
129
  rel_el_md += "---\n"
130
130
  rel_el_out = Markdown(rel_el_md)
131
131
 
@@ -312,7 +312,9 @@ class AssetCatalog(Client):
312
312
  ignore_case: bool = True,
313
313
  time_out: int = 60,
314
314
  ) -> list | str:
315
- """Retrieve the list of engine action metadata elements that contain the search string. Async Version.
315
+ """Locate string value in elements that are anchored to assets. Async Version.
316
+ Asset: https: // egeria - project.org / concepts / asset /
317
+
316
318
  Parameters
317
319
  ----------
318
320
  search_string : str
@@ -2439,7 +2439,7 @@ class AutomatedCuration(Client):
2439
2439
 
2440
2440
  body = {
2441
2441
  "class": "InitiateGovernanceActionTypeRequestBody",
2442
- "governanceActionTypeQualifiedName": "AssetSurvey:survey-postgres-database",
2442
+ "governanceActionTypeQualifiedName": "PostgreSQLSurveys:survey-postgres-database",
2443
2443
  "actionTargets": [
2444
2444
  {
2445
2445
  "class": "NewActionTarget",
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyegeria"
3
- version = "1.5.1.0.6"
3
+ version = "1.5.1.0.8"
4
4
  license = 'Apache 2.0'
5
5
  authors = ["Dan Wolfson <dan.wolfson@pdr-associates.com>"]
6
6
  readme = "README.md"
File without changes
File without changes