pyegeria 5.4.3.3__py3-none-any.whl → 5.4.3.4__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/cat/debug_log.2025-09-02_07-44-39_567276.log.zip +0 -0
- commands/cat/debug_log.2025-09-03_07-45-21_986388.log.zip +0 -0
- commands/cat/debug_log.log +5314 -4140
- commands/cat/list_format_set.py +2 -2
- commands/tech/list_information_supply_chains.py +1 -1
- commands/tech/list_solution_blueprints.py +1 -1
- commands/tech/list_solution_components.py +1 -1
- commands/tech/list_solution_roles.py +1 -1
- md_processing/__init__.py +0 -4
- md_processing/data/commands.json +4 -4
- md_processing/dr_egeria.py +6 -9
- md_processing/dr_egeria_inbox/data_spec_test.md +38 -364
- md_processing/dr_egeria_inbox/gov_def.md +3 -3
- md_processing/dr_egeria_inbox/product.md +10 -2
- md_processing/md_commands/data_designer_commands.py +90 -425
- md_processing/md_processing_utils/common_md_utils.py +50 -1
- md_processing/md_processing_utils/extraction_utils.py +14 -7
- md_processing/md_processing_utils/md_processing_constants.py +1 -1
- pyegeria/___external_references.py +2943 -2955
- pyegeria/__init__.py +1 -1
- pyegeria/_client_new.py +9 -7
- pyegeria/_output_formats.py +124 -3
- pyegeria/collection_manager.py +17 -56
- pyegeria/config.py +10 -1
- pyegeria/data_designer.py +166 -117
- pyegeria/egeria_client.py +1 -1
- pyegeria/egeria_tech_client.py +1 -1
- pyegeria/glossary_manager.py +71 -85
- pyegeria/governance_officer.py +26 -29
- pyegeria/output_formatter.py +127 -1
- pyegeria/project_manager.py +33 -36
- pyegeria/{solution_architect_omvs.py → solution_architect.py} +443 -388
- {pyegeria-5.4.3.3.dist-info → pyegeria-5.4.3.4.dist-info}/METADATA +1 -1
- {pyegeria-5.4.3.3.dist-info → pyegeria-5.4.3.4.dist-info}/RECORD +37 -39
- md_processing/dr_egeria_outbox/tuesday/processed-2025-09-02 13:07-gov_def.md +0 -492
- md_processing/dr_egeria_outbox/tuesday/processed-2025-09-02 13:25-gov_def.md +0 -520
- md_processing/dr_egeria_outbox/tuesday/processed-2025-09-02 16:43-gov_def.md +0 -636
- md_processing/dr_egeria_outbox/tuesday/processed-2025-09-02 16:46-gov_def.md +0 -636
- {pyegeria-5.4.3.3.dist-info → pyegeria-5.4.3.4.dist-info}/LICENSE +0 -0
- {pyegeria-5.4.3.3.dist-info → pyegeria-5.4.3.4.dist-info}/WHEEL +0 -0
- {pyegeria-5.4.3.3.dist-info → pyegeria-5.4.3.4.dist-info}/entry_points.txt +0 -0
commands/cat/list_format_set.py
CHANGED
@@ -300,9 +300,9 @@ def execute_format_set_action(
|
|
300
300
|
return
|
301
301
|
|
302
302
|
# Sort the results by display_name if available
|
303
|
-
if "display_name"
|
303
|
+
if result[0].get("display_name", None):
|
304
304
|
sorted_results = sorted(result, key=lambda k: k.get("display_name", ""))
|
305
|
-
elif "Display Name"
|
305
|
+
elif result[0].get("Display Name", None):
|
306
306
|
sorted_results = sorted(result, key=lambda k: k.get("Display Name", ""))
|
307
307
|
else:
|
308
308
|
sorted_results = result
|
@@ -28,7 +28,7 @@ from pyegeria import (
|
|
28
28
|
save_mermaid_html,
|
29
29
|
)
|
30
30
|
from pyegeria._exceptions import print_exception_response
|
31
|
-
from pyegeria.
|
31
|
+
from pyegeria.solution_architect import SolutionArchitect
|
32
32
|
|
33
33
|
disable_ssl_warnings = True
|
34
34
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
@@ -29,7 +29,7 @@ from pyegeria import (
|
|
29
29
|
)
|
30
30
|
from pyegeria._exceptions import print_exception_response
|
31
31
|
from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
|
32
|
-
from pyegeria.
|
32
|
+
from pyegeria.solution_architect import SolutionArchitect
|
33
33
|
|
34
34
|
disable_ssl_warnings = True
|
35
35
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
@@ -29,7 +29,7 @@ from pyegeria import (
|
|
29
29
|
)
|
30
30
|
from pyegeria._exceptions import print_exception_response
|
31
31
|
from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
|
32
|
-
from pyegeria.
|
32
|
+
from pyegeria.solution_architect import SolutionArchitect
|
33
33
|
|
34
34
|
disable_ssl_warnings = True
|
35
35
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
@@ -29,7 +29,7 @@ from pyegeria import (
|
|
29
29
|
)
|
30
30
|
from pyegeria._exceptions import print_exception_response
|
31
31
|
from pyegeria.mermaid_utilities import EGERIA_MERMAID_FOLDER
|
32
|
-
from pyegeria.
|
32
|
+
from pyegeria.solution_architect import SolutionArchitect
|
33
33
|
|
34
34
|
disable_ssl_warnings = True
|
35
35
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
md_processing/__init__.py
CHANGED
@@ -28,10 +28,6 @@ from md_processing.md_commands.solution_architect_commands import (process_bluep
|
|
28
28
|
from md_processing.md_commands.data_designer_commands import (process_data_field_upsert_command,
|
29
29
|
process_data_spec_upsert_command,
|
30
30
|
process_data_dict_upsert_command,
|
31
|
-
process_data_collection_list_command,
|
32
|
-
process_data_structure_list_command,
|
33
|
-
process_data_field_list_command,
|
34
|
-
process_data_class_list_command,
|
35
31
|
process_data_structure_upsert_command)
|
36
32
|
|
37
33
|
from md_processing.md_commands.glossary_commands import (process_glossary_upsert_command,
|
md_processing/data/commands.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"Command Specifications": {
|
3
|
-
"exported": "Sep
|
3
|
+
"exported": "Sep 4, 2025 at 10:26:24 AM",
|
4
4
|
"Create Governance Driver": {
|
5
5
|
"display_name": "Governance Driver",
|
6
6
|
"qn_prefix": "GovDriver",
|
@@ -33349,7 +33349,7 @@
|
|
33349
33349
|
"inUpdate": true,
|
33350
33350
|
"attr_labels": "OUTPUT SET",
|
33351
33351
|
"examples": "Collections, Agreements",
|
33352
|
-
"default_value": "
|
33352
|
+
"default_value": "DataField-DrE",
|
33353
33353
|
"valid_values": "",
|
33354
33354
|
"existing_element": "",
|
33355
33355
|
"description": "Optional specification of an output format set that defines the attributes/columns that will be returned.",
|
@@ -33658,7 +33658,7 @@
|
|
33658
33658
|
]
|
33659
33659
|
},
|
33660
33660
|
"View Data Classes": {
|
33661
|
-
"display_name": "View Data
|
33661
|
+
"display_name": "View Data Classes",
|
33662
33662
|
"qn_prefix": "",
|
33663
33663
|
"alternate_names": " Data Class",
|
33664
33664
|
"family": "Data Designer",
|
@@ -33728,7 +33728,7 @@
|
|
33728
33728
|
"inUpdate": true,
|
33729
33729
|
"attr_labels": "OUTPUT SET",
|
33730
33730
|
"examples": "Collections, Agreements",
|
33731
|
-
"default_value": "
|
33731
|
+
"default_value": "DataClass-DrE",
|
33732
33732
|
"valid_values": "",
|
33733
33733
|
"existing_element": "",
|
33734
33734
|
"description": "Optional specification of an output format set that defines the attributes/columns that will be returned.",
|
md_processing/dr_egeria.py
CHANGED
@@ -39,10 +39,6 @@ from md_processing import (extract_command, process_glossary_upsert_command, pro
|
|
39
39
|
PROJECT_COMMANDS, process_link_project_hierarchy_command)
|
40
40
|
from .md_commands.data_designer_commands import (process_data_spec_upsert_command,
|
41
41
|
process_data_dict_upsert_command,
|
42
|
-
process_data_collection_list_command,
|
43
|
-
process_data_structure_list_command,
|
44
|
-
process_data_field_list_command,
|
45
|
-
process_data_class_list_command,
|
46
42
|
process_data_field_upsert_command,
|
47
43
|
process_data_structure_upsert_command,
|
48
44
|
process_data_class_upsert_command)
|
@@ -178,13 +174,14 @@ def process_md_file(input_file: str, output_folder:str, directive: str, server:
|
|
178
174
|
result = process_data_class_upsert_command(client, current_block, directive)
|
179
175
|
elif potential_command in ["View Data Dictionaries", "View Data Dictionary", "View Data Specifications",
|
180
176
|
"View Data Specs"]:
|
181
|
-
result =
|
177
|
+
result = process_output_command(client, current_block, directive)
|
178
|
+
|
182
179
|
elif potential_command in ["View Data Structures", "View Data Structure"]:
|
183
|
-
result =
|
180
|
+
result = process_output_command(client, current_block, directive)
|
184
181
|
elif potential_command in ["View Data Fields", "View Data Field"]:
|
185
|
-
result =
|
182
|
+
result = process_output_command(client, current_block, directive)
|
186
183
|
elif potential_command in ["View Data Classes", "View Data Class"]:
|
187
|
-
result =
|
184
|
+
result = process_output_command(client, current_block, directive)
|
188
185
|
elif potential_command in ["Create Digital Product", "Create Data Product","Update Digital Product", "Update Data Product"]:
|
189
186
|
result = process_digital_product_upsert_command(client, current_block, directive)
|
190
187
|
elif potential_command in ["Create Agreement", "Create Data Sharing Agreement", "Create Digital Subscription",
|
@@ -302,7 +299,7 @@ def process_md_file(input_file: str, output_folder:str, directive: str, server:
|
|
302
299
|
else:
|
303
300
|
if directive != 'display':
|
304
301
|
print("\nNo updates detected. New File not created.")
|
305
|
-
logger.error("===> Unknown Command?
|
302
|
+
logger.error(f"===> Unknown Command? <===")
|
306
303
|
|
307
304
|
except PyegeriaException as e:
|
308
305
|
print_basic_exception(e)
|