pyegeria 5.4.8__py3-none-any.whl → 5.4.8.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.
- md_processing/__init__.py +2 -1
- md_processing/data/commands.json +59579 -52198
- md_processing/dr_egeria.py +7 -5
- md_processing/md_commands/solution_architect_commands.py +54 -10
- md_processing/md_processing_utils/common_md_proc_utils.py +8 -4
- md_processing/md_processing_utils/common_md_utils.py +41 -2
- pyegeria/_base_client.py +1 -17
- pyegeria/_client_new.py +1008 -323
- pyegeria/_client_new_backup.py +5359 -0
- pyegeria/_exceptions_new.py +6 -1
- pyegeria/base_report_formats.py +31 -2
- pyegeria/classification_manager.py +1430 -357
- pyegeria/collection_manager.py +52 -54
- pyegeria/config.py +1 -0
- pyegeria/data_designer.py +41 -41
- pyegeria/external_links.py +26 -26
- pyegeria/feedback_manager_omvs.py +13 -31
- pyegeria/glossary_manager.py +32 -35
- pyegeria/governance_officer.py +31 -31
- pyegeria/output_formatter.py +36 -11
- pyegeria/output_formatter_with_machine_keys.py +1127 -0
- pyegeria/project_manager.py +21 -21
- pyegeria/reference_data.py +2 -2
- pyegeria/solution_architect.py +112 -91
- {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/METADATA +6 -5
- {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/RECORD +30 -29
- pyegeria/md_processing_utils_orig.py +0 -1103
- {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/WHEEL +0 -0
- {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/entry_points.txt +0 -0
- {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/licenses/LICENSE +0 -0
- {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/top_level.txt +0 -0
pyegeria/_exceptions_new.py
CHANGED
|
@@ -379,7 +379,12 @@ def print_basic_exception(e: PyegeriaException):
|
|
|
379
379
|
table.caption = e.pyegeria_code
|
|
380
380
|
table.add_column("Facet", justify="center")
|
|
381
381
|
table.add_column("Item", justify="left", width=80)
|
|
382
|
-
|
|
382
|
+
if e.response:
|
|
383
|
+
related_response = e.response.json() if isinstance(e, PyegeriaException) else None
|
|
384
|
+
exception_msg_id = related_response.get("exceptionErrorMessageId", None)
|
|
385
|
+
else:
|
|
386
|
+
exception_msg_id = ""
|
|
387
|
+
|
|
383
388
|
table = Table(title=f"Exception: {e.__class__.__name__}", show_lines=True, header_style="bold", box=box.HEAVY_HEAD)
|
|
384
389
|
table.caption = e.pyegeria_code
|
|
385
390
|
table.add_column("Facet", justify="center")
|
pyegeria/base_report_formats.py
CHANGED
|
@@ -130,7 +130,6 @@ COMMON_ATTRIBUTES = COMMON_COLUMNS
|
|
|
130
130
|
|
|
131
131
|
COMMON_METADATA_COLUMNS = [
|
|
132
132
|
Column(name='GUID', key='guid', format=True),
|
|
133
|
-
Column(name='Type Name', key='type_name'),
|
|
134
133
|
Column(name='Metadata Collection ID', key='metadata_collection_id', format=True),
|
|
135
134
|
Column(name='Metadata Collection Name', key='metadata_collection_name', format=True),
|
|
136
135
|
]
|
|
@@ -300,6 +299,36 @@ base_report_specs = FormatSetDict({
|
|
|
300
299
|
)
|
|
301
300
|
],
|
|
302
301
|
),
|
|
302
|
+
"Search-Keywords": FormatSet(
|
|
303
|
+
heading="Search Keyword Report",
|
|
304
|
+
description="A report of elements with search keywords matching the specified string",
|
|
305
|
+
annotations={}, # No specific annotations
|
|
306
|
+
formats=[
|
|
307
|
+
Format(
|
|
308
|
+
types=["ALL"],
|
|
309
|
+
attributes= [
|
|
310
|
+
Column(name='Search Keyword', key='keyword'),
|
|
311
|
+
Column(name="Search Keyword GUID", key='guid'),
|
|
312
|
+
Column(name="Element Display Name", key='element_display_name'),
|
|
313
|
+
Column(name="Element GUID", key='element_guid'),
|
|
314
|
+
Column(name="Element Type", key='element_type'),
|
|
315
|
+
Column(name="Element Description", key='element_description'),
|
|
316
|
+
Column(name="Element Category", key='element_category'),
|
|
317
|
+
],
|
|
318
|
+
)
|
|
319
|
+
],
|
|
320
|
+
action=ActionParameter(
|
|
321
|
+
function="_client_new.find_search_keywords",
|
|
322
|
+
optional_params=OPTIONAL_PARAMS,
|
|
323
|
+
required_params=["search_string"],
|
|
324
|
+
spec_params={},
|
|
325
|
+
),
|
|
326
|
+
get_additional_props=ActionParameter(
|
|
327
|
+
function="_client_extract_element_properties_for_keyword",
|
|
328
|
+
required_params=[],
|
|
329
|
+
spec_params={},
|
|
330
|
+
)
|
|
331
|
+
),
|
|
303
332
|
"TechTypeDetail": FormatSet(
|
|
304
333
|
target_type="TechTypeDetail",
|
|
305
334
|
heading="Technology Type Details",
|
|
@@ -2832,4 +2861,4 @@ def get_report_format_description(fmt_name: str) -> Optional[str]:
|
|
|
2832
2861
|
|
|
2833
2862
|
# Legacy names remain available (no change to behavior) and can be deprecated later.
|
|
2834
2863
|
# Temporary aliases for backwards compatibility during migration
|
|
2835
|
-
|
|
2864
|
+
select_report_spec = select_report_format
|