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.
Files changed (31) hide show
  1. md_processing/__init__.py +2 -1
  2. md_processing/data/commands.json +59579 -52198
  3. md_processing/dr_egeria.py +7 -5
  4. md_processing/md_commands/solution_architect_commands.py +54 -10
  5. md_processing/md_processing_utils/common_md_proc_utils.py +8 -4
  6. md_processing/md_processing_utils/common_md_utils.py +41 -2
  7. pyegeria/_base_client.py +1 -17
  8. pyegeria/_client_new.py +1008 -323
  9. pyegeria/_client_new_backup.py +5359 -0
  10. pyegeria/_exceptions_new.py +6 -1
  11. pyegeria/base_report_formats.py +31 -2
  12. pyegeria/classification_manager.py +1430 -357
  13. pyegeria/collection_manager.py +52 -54
  14. pyegeria/config.py +1 -0
  15. pyegeria/data_designer.py +41 -41
  16. pyegeria/external_links.py +26 -26
  17. pyegeria/feedback_manager_omvs.py +13 -31
  18. pyegeria/glossary_manager.py +32 -35
  19. pyegeria/governance_officer.py +31 -31
  20. pyegeria/output_formatter.py +36 -11
  21. pyegeria/output_formatter_with_machine_keys.py +1127 -0
  22. pyegeria/project_manager.py +21 -21
  23. pyegeria/reference_data.py +2 -2
  24. pyegeria/solution_architect.py +112 -91
  25. {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/METADATA +6 -5
  26. {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/RECORD +30 -29
  27. pyegeria/md_processing_utils_orig.py +0 -1103
  28. {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/WHEEL +0 -0
  29. {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/entry_points.txt +0 -0
  30. {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/licenses/LICENSE +0 -0
  31. {pyegeria-5.4.8.dist-info → pyegeria-5.4.8.3.dist-info}/top_level.txt +0 -0
@@ -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
- related_response = e.response.json() if e.response else ""
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")
@@ -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
- select_rreport_spec = select_report_format
2864
+ select_report_spec = select_report_format