pyegeria 5.4.7.4__py3-none-any.whl → 5.4.7.6__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.
- commands/ops/__init__.py +0 -2
- commands/ops/list_catalog_targets.py +0 -1
- commands/ops/load_archive.py +3 -3
- commands/ops/monitor_engine_activity.py +1 -1
- commands/tech/__init__.py +0 -2
- md_processing/md_commands/solution_architect_commands.py +1 -1
- pyegeria/__init__.py +3 -3
- pyegeria/_client_new.py +386 -172
- pyegeria/automated_curation.py +686 -837
- pyegeria/classification_manager.py +2413 -837
- pyegeria/external_references.py +1 -1
- pyegeria/full_omag_server_config.py +1 -1
- pyegeria/project_manager.py +8 -0
- pyegeria/reference_data.py +4 -0
- pyegeria/solution_architect.py +6 -4
- {pyegeria-5.4.7.4.dist-info → pyegeria-5.4.7.6.dist-info}/METADATA +1 -1
- {pyegeria-5.4.7.4.dist-info → pyegeria-5.4.7.6.dist-info}/RECORD +21 -21
- {pyegeria-5.4.7.4.dist-info → pyegeria-5.4.7.6.dist-info}/WHEEL +0 -0
- {pyegeria-5.4.7.4.dist-info → pyegeria-5.4.7.6.dist-info}/entry_points.txt +0 -0
- {pyegeria-5.4.7.4.dist-info → pyegeria-5.4.7.6.dist-info}/licenses/LICENSE +0 -0
- {pyegeria-5.4.7.4.dist-info → pyegeria-5.4.7.6.dist-info}/top_level.txt +0 -0
commands/ops/__init__.py
CHANGED
commands/ops/load_archive.py
CHANGED
@@ -12,7 +12,7 @@ import os
|
|
12
12
|
|
13
13
|
import click
|
14
14
|
from loguru import logger
|
15
|
-
from pyegeria import
|
15
|
+
from pyegeria import EgeriaTech, PyegeriaAPIException
|
16
16
|
from pyegeria.config import settings
|
17
17
|
from pyegeria.logging_configuration import config_logging
|
18
18
|
from pyegeria._exceptions_new import (
|
@@ -64,13 +64,13 @@ def load_archive(file_name, server_name, view_server, url, userid, password, tim
|
|
64
64
|
try:
|
65
65
|
s_client = EgeriaTech(view_server, url, userid, password)
|
66
66
|
token = s_client.create_egeria_bearer_token()
|
67
|
-
server_guid =
|
67
|
+
server_guid = s_client.__get_guid__(display_name = server_name, property_name = "displayName", tech_type = "MetadataStore")
|
68
68
|
file_name = file_name.strip()
|
69
69
|
s_client.add_archive_file(file_name, server_guid, server_name, time_out=timeout)
|
70
70
|
|
71
71
|
click.echo(f"Loaded archive: {file_name}")
|
72
72
|
|
73
|
-
except (PyegeriaException) as e:
|
73
|
+
except (PyegeriaException, PyegeriaAPIException) as e:
|
74
74
|
print(
|
75
75
|
f"Perhaps there was a timeout? If so, the command will complete despite the exception\n"
|
76
76
|
f"===> You can check by rerunning the command in a few minutes"
|
@@ -109,7 +109,7 @@ def display_engine_activity(
|
|
109
109
|
table.add_column("Process Name")
|
110
110
|
table.add_column("Completion Message")
|
111
111
|
|
112
|
-
action_status = g_client.
|
112
|
+
action_status = g_client.get_active_engine_actions()
|
113
113
|
|
114
114
|
if type(action_status) is str:
|
115
115
|
requested_time = " "
|
commands/tech/__init__.py
CHANGED
@@ -534,7 +534,7 @@ def process_solution_component_upsert_command(egeria_client: EgeriaTech, txt: st
|
|
534
534
|
|
535
535
|
else:
|
536
536
|
body = body_slimmer({
|
537
|
-
"class": "
|
537
|
+
"class": "NewElementRequestBody",
|
538
538
|
"anchorGUID": anchor_guid,
|
539
539
|
"isOwnAnchor": is_own_anchor,
|
540
540
|
"parentGUID": parent_guid,
|
pyegeria/__init__.py
CHANGED
@@ -12,11 +12,11 @@ the server platform and servers.
|
|
12
12
|
"""
|
13
13
|
# from .load_config import load_app_config, get_app_config
|
14
14
|
# from .logging_configuration import config_logging, init_logging
|
15
|
-
from ._globals import (
|
15
|
+
from ._globals import (default_time_out, disable_ssl_warnings, enable_ssl_check,
|
16
16
|
is_debug, max_paging_size, NO_ELEMENTS_FOUND, NO_ASSETS_FOUND, NO_SERVERS_FOUND,
|
17
17
|
NO_CATALOGS_FOUND, NO_GLOSSARIES_FOUND, NO_TERMS_FOUND, NO_CATEGORIES_FOUND, NO_ELEMENT_FOUND,
|
18
|
-
NO_PROJECTS_FOUND, DEBUG_LEVEL, NO_COLLECTION_FOUND, NO_GUID_RETURNED,
|
19
|
-
|
18
|
+
NO_PROJECTS_FOUND, DEBUG_LEVEL, NO_COLLECTION_FOUND, NO_GUID_RETURNED,
|
19
|
+
)
|
20
20
|
|
21
21
|
|
22
22
|
|