pyegeria 0.5.5.8__tar.gz → 0.5.5.10__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 (66) hide show
  1. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/PKG-INFO +1 -1
  2. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/catalog_user/view_asset_graph.py +4 -3
  3. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/Xloaded_resources_omvs.py +2 -1
  4. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/core_guids.py +17 -13
  5. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/server_operations.py +6 -5
  6. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyproject.toml +1 -1
  7. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/LICENSE +0 -0
  8. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/README.md +0 -0
  9. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/doc_samples/Create_Collection_Sample.py +0 -0
  10. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/doc_samples/Create_Sustainability_Collection_Sample.py +0 -0
  11. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/catalog_user/README.md +0 -0
  12. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/catalog_user/__init__.py +0 -0
  13. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/catalog_user/list_assets.py +0 -0
  14. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/catalog_user/view_collection.py +0 -0
  15. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/catalog_user/view_glossary.py +0 -0
  16. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/developer/README.md +0 -0
  17. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/developer/__init__.py +0 -0
  18. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/developer/get_guid_info.py +0 -0
  19. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/developer/get_tech_details.py +0 -0
  20. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/developer/list_asset_types.py +0 -0
  21. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/developer/list_registered_services.py +0 -0
  22. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/developer/list_relationship_types.py +0 -0
  23. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/developer/list_tech_templates.py +0 -0
  24. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/developer/list_tech_types.py +0 -0
  25. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/developer/list_valid_metadata_values.py +0 -0
  26. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/README.md +0 -0
  27. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/__init__.py +0 -0
  28. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/get_tech_type_elements.py +0 -0
  29. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/get_tech_type_template.py +0 -0
  30. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/view_asset_events.py +0 -0
  31. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/view_coco_status.py +0 -0
  32. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/view_eng_action_status.py +0 -0
  33. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/view_gov_eng_status.py +0 -0
  34. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/view_integ_daemon_status.py +0 -0
  35. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/view_platform_status.py +0 -0
  36. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/view_server_list.py +0 -0
  37. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/operational/view_server_status.py +0 -0
  38. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/personal_organizer/README.md +0 -0
  39. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/personal_organizer/__init__.py +0 -0
  40. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/personal_organizer/get_my_profile.py +0 -0
  41. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/personal_organizer/list_projects.py +0 -0
  42. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/personal_organizer/list_todos.py +0 -0
  43. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/personal_organizer/view_my_todos.py +0 -0
  44. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/examples/widgets/personal_organizer/view_open_todos.py +0 -0
  45. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/Xfeedback_manager_omvs.py +0 -0
  46. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/__init__.py +0 -0
  47. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/_client.py +0 -0
  48. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/_deprecated_gov_engine.py +0 -0
  49. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/_exceptions.py +0 -0
  50. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/_globals.py +0 -0
  51. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/_validators.py +0 -0
  52. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/action_author_omvs.py +0 -0
  53. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/asset_catalog_omvs.py +0 -0
  54. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/automated_curation_omvs.py +0 -0
  55. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/collection_manager_omvs.py +0 -0
  56. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/core_omag_server_config.py +0 -0
  57. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/full_omag_server_config.py +0 -0
  58. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/glossary_browser_omvs.py +0 -0
  59. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/glossary_manager_omvs.py +0 -0
  60. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/my_profile_omvs.py +0 -0
  61. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/platform_services.py +0 -0
  62. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/project_manager_omvs.py +0 -0
  63. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/registered_info.py +0 -0
  64. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/runtime_manager_omvs.py +0 -0
  65. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/utils.py +0 -0
  66. {pyegeria-0.5.5.8 → pyegeria-0.5.5.10}/pyegeria/valid_metadata_omvs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.5.5.8
3
+ Version: 0.5.5.10
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -71,13 +71,14 @@ def asset_viewer(asset_guid: str, server_name:str, platform_url:str, user:str):
71
71
  ne_class_md = build_classifications(ne_classifications)
72
72
  # ne_class_md = " " if ne_class_md is None else ne_class_md
73
73
  ne_props = nested_element.get("properties","---")
74
-
75
74
  ne_prop_md = "\n"
76
- for prop in ne_props.keys():
77
- ne_prop_md += f"\t* {prop}: {ne_props[prop]}\n"
75
+ if type(ne_props) is dict:
76
+ for prop in ne_props.keys():
77
+ ne_prop_md += f"\t* {prop}: {ne_props[prop]}\n"
78
78
  ne_md = (f"Nested Element of Type: {ne_type} with GUID: {ne_guid} \n "
79
79
  f"* created by {ne_created_by} at time {ne_created_at}\n"
80
80
  f"\n* Properties:\n{ne_prop_md}\n")
81
+
81
82
  if ne_class_md is not None:
82
83
  ne_md += f"* {ne_class_md}"
83
84
 
@@ -57,7 +57,7 @@ class LoadedResources(Client):
57
57
  Client.__init__(self, server_name, platform_url,
58
58
  user_id, user_pwd, verify_flag)
59
59
 
60
- def get_all_templates(self, server: str = None, start_from: int = 0, page_size: int = 0) -> list | str:
60
+ def get_all_templates(self, server: str = None, start_from: int = 0, page_size: int = max_paging_size) -> list | str:
61
61
  """ Get Loaded templates for the Server.
62
62
 
63
63
  Parameters
@@ -89,3 +89,4 @@ class LoadedResources(Client):
89
89
  return response.json().get("elementList", "No elements")
90
90
 
91
91
  # def get_all_assets_in_archives(self, asset_type: str = None, archive_id: str = None, server: str= None, page_start:int = 0, page_size = max_paging_size):
92
+
@@ -13,7 +13,7 @@ CSV_DATA_FILE_TEMPLATE_GUID = '13770F93-13C8-42BE-9BB8-E0B1B1E52B1F'
13
13
 
14
14
  KEYSTORE_FILE_TEMPLATE_GUID = 'FBCFCC0C-1652-421F-B49B-C3E1C108768F'
15
15
 
16
- OSS_UNITY_CATALOG_FUNCTION_TEMPLATE_GUID = '4AE9F6DF-4678-4B0A-A492-4A982C8397FD'
16
+ OSS_UNITY_CATALOG_FUNCTION_TEMPLATE_GUID = '5B72BD18-665D-4696-8EBB-F6D0885312E2'
17
17
 
18
18
  DATA_FILE_TEMPLATE_GUID = '66D8DDA9-00CF-4E59-938C-4B0583596B1E'
19
19
 
@@ -23,7 +23,7 @@ ARCHIVE_FILE_TEMPLATE_GUID = '7578E504-D00F-406D-A194-3FC0A351CDF9'
23
23
 
24
24
  POSTGRESQL_RELATIONAL_DATABASE_TEMPLATE_GUID = '3D398B3F-7AE6-4713-952A-409F3DEA8520'
25
25
 
26
- OSS_UNITY_CATALOG_VOLUME_TEMPLATE_GUID = '384386BA-83C0-4981-8553-4306AECE440F'
26
+ OSS_UNITY_CATALOG_VOLUME_TEMPLATE_GUID = 'DFC0C928-0DB3-4EB4-A1F0-0760DAB168C5'
27
27
 
28
28
  PROGRAM_FILE_TEMPLATE_GUID = '32D27E9C-1FDF-455A-AD2A-42B4D7D99108'
29
29
 
@@ -55,7 +55,7 @@ VECTOR_DATA_FILE_TEMPLATE_GUID = 'DB1BEC7F-55A9-40D3-91C0-A57B76D422E2'
55
55
 
56
56
  APACHE_KAFKA_SERVER_TEMPLATE_GUID = '5E1FF810-5418-43F7-B7C4-E6E062F9AFF7'
57
57
 
58
- OSS_UNITY_CATALOG_SCHEMA_TEMPLATE_GUID = 'A75CFB07-31FE-457E-9298-BE145DC93071'
58
+ OSS_UNITY_CATALOG_SCHEMA_TEMPLATE_GUID = 'D68F5AA3-152E-40FA-8C16-E73DB8D925D6'
59
59
 
60
60
  EXECUTABLE_FILE_TEMPLATE_GUID = '3D99A163-7A13-4576-A212-784010A8302A'
61
61
 
@@ -69,6 +69,8 @@ OSS_UNITY_CATALOG_SERVER_TEMPLATE_GUID = '1077A346-7A50-4CB0-A795-B219BAFAABF6'
69
69
 
70
70
  APPLE_MACBOOK_PRO_TEMPLATE_GUID = '32A9FD56-85C9-47FE-A211-9DA3871BF4DA'
71
71
 
72
+ OSS_UNITY_CATALOG_TABLE_TEMPLATE_GUID = 'CB34184B-D6A9-4A27-9FD2-EA4C78978F9F'
73
+
72
74
  BUILD_INSTRUCTION_FILE_TEMPLATE_GUID = 'FBB2FA2E-8BCB-402E-9BE7-5C6DB9F2C504'
73
75
 
74
76
  SPREADSHEET_DATA_FILE_TEMPLATE_GUID = 'E4FABFF5-2BA9-4050-9076-6ED917970B4C'
@@ -83,8 +85,6 @@ ENGINE_HOST_TEMPLATE_GUID = '1764A891-4234-45F1-8CC3-536AF40C790D'
83
85
 
84
86
  AVRO_DATA_FILE_TEMPLATE_GUID = '9F5BE428-058E-41DD-B506-3A222283B579'
85
87
 
86
- OSS_UNITY_CATALOG_TABLE_TEMPLATE_GUID = 'F5B12348-92AC-4A52-B8E0-B06CF215484E'
87
-
88
88
  FILE_TEMPLATE_GUID = 'AE3067C7-CC72-4A18-88E1-746803C2C86F'
89
89
 
90
90
  APACHE_KAFKA_TOPIC_TEMPLATE_GUID = 'EA8F81C9-C59C-47DE-9525-7CC59D1251E5'
@@ -103,19 +103,23 @@ OMAG_SERVER_PLATFORM_TEMPLATE_GUID = '9B06C4DC-DDC8-47AE-B56B-28775D3A96F0'
103
103
  # Integration Connector GUIDS
104
104
  #
105
105
 
106
- PostgreSQL_Relational_Database_Integration_Connector_GUID = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
107
106
 
108
- Landing_Area_File_Monitor_Integration_Connector_GUID = '1b98cdac-dd0a-4621-93db-99ef5a1098bc'
109
107
 
110
- FileFolder_Integration_Connector_GUID = 'cd6479e1-2fe7-4426-b358-8a0cf70be117'
108
+ JDBC_RELATIONAL_DATABASE_INTEGRATION_CONNECTOR_GUID = '70DCD0B7-9F06-48AD-AD44-AE4D7A7762AA'
109
+
110
+ POSTGRESQL_RELATIONAL_DATABASE_INTEGRATION_CONNECTOR_GUID = '70DCD0B7-9F06-48AD-AD44-AE4D7A7762AA'
111
+
112
+ LANDING_AREA_FILE_MONITOR_INTEGRATION_CONNECTOR_GUID = '1B98CDAC-DD0A-4621-93DB-99EF5A1098BC'
113
+
114
+ FILEFOLDER_INTEGRATION_CONNECTOR_GUID = 'CD6479E1-2FE7-4426-B358-8A0CF70BE117'
111
115
 
112
- OSS_Unity_Catalog_Catalog_Integration_Connector_GUID = '74dde22f-2249-4ea3-af2b-b39e73f79b81'
116
+ OSS_UNITY_CATALOG_CATALOG_INTEGRATION_CONNECTOR_GUID = '74DDE22F-2249-4EA3-AF2B-B39E73F79B81'
113
117
 
114
- PostgreSQL_Server_Integration_Connector_GUID = '36f69fd0-54ba-4f59-8a44-11ccf2687a34'
118
+ POSTGRESQL_SERVER_INTEGRATION_CONNECTOR_GUID = '36F69FD0-54BA-4F59-8A44-11CCF2687A34'
115
119
 
116
- Apache_Kafka_Server_Integration_Connector_GUID = 'fa1f711c-0b34-4b57-8e6e-16162b132b0c'
120
+ APACHE_KAFKA_SERVER_INTEGRATION_CONNECTOR_GUID = 'FA1F711C-0B34-4B57-8E6E-16162B132B0C'
117
121
 
118
- Software_Server_Integration_Connector_GUID = 'b89d9a5a-2ea6-49bc-a4fc-e7df9f3ca93e'
122
+ SOFTWARE_SERVER_INTEGRATION_CONNECTOR_GUID = 'B89D9A5A-2EA6-49BC-A4FC-E7DF9F3CA93E'
119
123
 
120
- OSS_Unity_Catalog_Server_Integration_Connector_GUID = '06d068d9-9e08-4e67-8c59-073bbf1013af'
124
+ OSS_UNITY_CATALOG_SERVER_INTEGRATION_CONNECTOR_GUID = '06D068D9-9E08-4E67-8C59-073BBF1013AF'
121
125
 
@@ -86,7 +86,7 @@ class ServerOps(Platform):
86
86
  #
87
87
  # Archive Files
88
88
  #
89
- async def _async_add_archive_file(self, archive_file: str, server: str = None) -> None:
89
+ async def _async_add_archive_file(self, archive_file: str, server: str = None, timeout: int = 30) -> None:
90
90
  """
91
91
  Load the server with the contents of the indicated archive file.
92
92
 
@@ -95,7 +95,7 @@ class ServerOps(Platform):
95
95
  archive_file: the name of the archive file to load
96
96
  - note that the path is relative to the working directory of the platform.
97
97
  server : Use the server if specified. If None, use the default server associated with the Platform object.
98
-
98
+ timeout: Timeout in seconds. Defaults to 30 seconds.
99
99
  Returns
100
100
  -------
101
101
  Response object. Also throws exceptions if no viable server or endpoint errors
@@ -110,9 +110,9 @@ class ServerOps(Platform):
110
110
  + "/instance/open-metadata-archives/file"
111
111
  )
112
112
 
113
- await self._async_make_request("POST-DATA", url, archive_file)
113
+ await self._async_make_request("POST-DATA", url, archive_file, time_out=timeout)
114
114
 
115
- def add_archive_file(self, archive_file: str, server: str = None) -> None:
115
+ def add_archive_file(self, archive_file: str, server: str = None, timeout:int = 30) -> None:
116
116
  """
117
117
  Load the server with the contents of the indicated archive file.
118
118
 
@@ -121,6 +121,7 @@ class ServerOps(Platform):
121
121
  archive_file: the name of the archive file to load
122
122
  - note that the path is relative to the working directory of the platform.
123
123
  server : Use the server if specified. If None, use the default server associated with the Platform object.
124
+ timeout: Timeout in seconds. Defaults to 30 seconds.
124
125
 
125
126
  Returns
126
127
  -------
@@ -128,7 +129,7 @@ class ServerOps(Platform):
128
129
 
129
130
  """
130
131
  loop = asyncio.get_event_loop()
131
- loop.run_until_complete(self._async_add_archive_file(archive_file, server))
132
+ loop.run_until_complete(self._async_add_archive_file(archive_file, server, timeout))
132
133
 
133
134
  async def _async_add_archive(self, archive_connection: str, server: str = None) -> None:
134
135
  """ Load the server with the contents of the indicated archive file.
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyegeria"
3
- version = "0.5.5.8"
3
+ version = "0.5.5.10"
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