pyegeria 0.7.12__tar.gz → 0.7.15__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.
- {pyegeria-0.7.12 → pyegeria-0.7.15}/PKG-INFO +1 -1
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/list_relationships.py +7 -2
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cli/egeria.py +1 -1
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cli/egeria_cat.py +1 -1
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyproject.toml +2 -3
- {pyegeria-0.7.12 → pyegeria-0.7.15}/LICENSE +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/README.md +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/doc_samples/Create_Collection_Sample.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/doc_samples/Create_Sustainability_Collection_Sample.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/README.md +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/__init__.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/get_asset_graph.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/get_collection.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/get_project_structure.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/get_tech_type_elements.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/get_tech_type_template.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/list_assets.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/list_cert_types.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/list_glossary.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/list_projects.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/list_tech_types.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cat/list_todos.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cli/__init__.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cli/egeria_my.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cli/egeria_ops.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cli/egeria_tech.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/cli/ops_config.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/my/README.md +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/my/__init__.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/my/list_my_profile.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/my/list_my_roles.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/my/monitor_my_todos.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/my/monitor_open_todos.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/my/my_profile_actions.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/README.md +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/__init__.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/engine_actions.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/integration_daemon_actions.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/list_catalog_targets.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/load_archive.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/monitor_asset_events.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/monitor_coco_status.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/monitor_engine_activity.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/monitor_gov_eng_status.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/monitor_integ_daemon_status.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/monitor_platform_status.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/monitor_server_list.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/monitor_server_status.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/refresh_integration_daemon.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/ops/restart_integration_daemon.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/tech/README.md +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/tech/__init__.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/tech/get_guid_info.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/tech/get_tech_details.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/tech/list_asset_types.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/tech/list_elements.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/tech/list_registered_services.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/tech/list_relationship_types.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/tech/list_tech_templates.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/examples/widgets/tech/list_valid_metadata_values.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/Xloaded_resources_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/__init__.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/_client.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/_exceptions.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/_globals.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/_validators.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/action_author_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/asset_catalog_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/automated_curation_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/classification_manager_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/collection_manager_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/core_omag_server_config.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/feedback_manager_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/full_omag_server_config.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/glossary_browser_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/glossary_manager_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/my_profile_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/platform_services.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/project_manager_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/registered_info.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/server_operations.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/utils.py +0 -0
- {pyegeria-0.7.12 → pyegeria-0.7.15}/pyegeria/valid_metadata_omvs.py +0 -0
@@ -44,6 +44,7 @@ disable_ssl_warnings = True
|
|
44
44
|
|
45
45
|
def list_relationships(search_string: str, server: str, url: str, username: str, user_password: str, time_out: int = 60,
|
46
46
|
jupyter: bool = EGERIA_JUPYTER, width: int = EGERIA_WIDTH):
|
47
|
+
|
47
48
|
console = Console(width=width, force_terminal=not jupyter, soft_wrap=True)
|
48
49
|
if (search_string is None) or ((len(search_string) < 3)) and (search_string != '*'):
|
49
50
|
raise ValueError("Invalid Search String - must be greater than four characters long")
|
@@ -86,8 +87,12 @@ def list_relationships(search_string: str, server: str, url: str, username: str,
|
|
86
87
|
end2_type = rel['end2']['type']['typeName']
|
87
88
|
|
88
89
|
rel_md = ''
|
89
|
-
|
90
|
-
|
90
|
+
p_test = rel.get('properties','---')
|
91
|
+
if type(p_test) is str:
|
92
|
+
rel_md = '---'
|
93
|
+
else:
|
94
|
+
for key in rel['properties'].keys():
|
95
|
+
rel_md += f"* {key}: {rel['properties'][key]}\n"
|
91
96
|
|
92
97
|
rel_out = Markdown(rel_md)
|
93
98
|
|
@@ -405,7 +405,7 @@ def show_relationships(ctx, relationship):
|
|
405
405
|
"""Show the structure of the project starting from a root project"""
|
406
406
|
c = ctx.obj
|
407
407
|
list_relationships(relationship, c.view_server, c.view_server_url, c.userid,
|
408
|
-
c.password, c.
|
408
|
+
c.password, c.timeout, c.jupyter, c.width)
|
409
409
|
|
410
410
|
|
411
411
|
|
@@ -220,7 +220,7 @@ def show_relationships(ctx, relationship):
|
|
220
220
|
"""Show the structure of the project starting from a root project"""
|
221
221
|
c = ctx.obj
|
222
222
|
list_relationships(relationship, c.view_server, c.view_server_url, c.userid,
|
223
|
-
c.password, c.
|
223
|
+
c.password, c.timeout, c.jupyter, c.width)
|
224
224
|
|
225
225
|
|
226
226
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "pyegeria"
|
3
|
-
version = "0.7.
|
3
|
+
version = "0.7.15"
|
4
4
|
license = 'Apache 2.0'
|
5
5
|
authors = ["Dan Wolfson <dan.wolfson@pdr-associates.com>"]
|
6
6
|
readme = "README.md"
|
@@ -63,8 +63,7 @@ pytest = "^8.2.2"
|
|
63
63
|
list_todos = "examples.widgets.cat.list_todos:main"
|
64
64
|
list_cert_types = "examples.widgets.cat.list_cert_types:main"
|
65
65
|
get_project_structure = "examples.widgets.cat.get_project_structure:main"
|
66
|
-
list_relationships = "examples.widgets.cat.
|
67
|
-
|
66
|
+
list_relationships = "examples.widgets.cat.list_relationships:main"
|
68
67
|
|
69
68
|
monitor_asset_events = "examples.widgets.ops.monitor_asset_events:main"
|
70
69
|
monitor_coco_status = "examples.widgets.ops.monitor_coco_status:main"
|
File without changes
|
File without changes
|
File without changes
|
{pyegeria-0.7.12 → pyegeria-0.7.15}/examples/doc_samples/Create_Sustainability_Collection_Sample.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|