pyegeria 0.7.10__py3-none-any.whl → 0.7.11__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.
- examples/widgets/cli/egeria.py +2 -2
- examples/widgets/tech/get_tech_details.py +10 -8
- {pyegeria-0.7.10.dist-info → pyegeria-0.7.11.dist-info}/METADATA +1 -1
- {pyegeria-0.7.10.dist-info → pyegeria-0.7.11.dist-info}/RECORD +7 -7
- {pyegeria-0.7.10.dist-info → pyegeria-0.7.11.dist-info}/LICENSE +0 -0
- {pyegeria-0.7.10.dist-info → pyegeria-0.7.11.dist-info}/WHEEL +0 -0
- {pyegeria-0.7.10.dist-info → pyegeria-0.7.11.dist-info}/entry_points.txt +0 -0
examples/widgets/cli/egeria.py
CHANGED
@@ -52,8 +52,8 @@ from examples.widgets.tech.list_tech_templates import display_templates_spec
|
|
52
52
|
from examples.widgets.tech.list_valid_metadata_values import display_metadata_values
|
53
53
|
from examples.widgets.tech.list_elements import list_elements
|
54
54
|
|
55
|
-
|
56
|
-
@tui('menu', 'menu', 'A textual command line interface')
|
55
|
+
@tui()
|
56
|
+
# @tui('menu', 'menu', 'A textual command line interface')
|
57
57
|
@click.version_option("0.0.1", prog_name="egeria_ops")
|
58
58
|
@click.group()
|
59
59
|
@click.option('--server', default='active-metadata-store', envvar='EGERIA_METADATA_STORE',
|
@@ -7,7 +7,7 @@ A simple viewer for collections - provide the root and we display the hierarchy
|
|
7
7
|
|
8
8
|
"""
|
9
9
|
import argparse
|
10
|
-
import os
|
10
|
+
import os, sys
|
11
11
|
|
12
12
|
from rich import print
|
13
13
|
from rich.console import Console
|
@@ -44,7 +44,8 @@ disable_ssl_warnings = True
|
|
44
44
|
def tech_details_viewer(tech: str, server_name: str, platform_url: str, user: str, user_password: str,
|
45
45
|
jupyter: bool = EGERIA_JUPYTER, width: int = EGERIA_WIDTH):
|
46
46
|
console = Console(width=width, force_terminal=not jupyter)
|
47
|
-
|
47
|
+
# print(f"tech is {tech} of type {type(tech)}")
|
48
|
+
# sys.exit(0)
|
48
49
|
def view_tech_details(a_client: AutomatedCuration, root_collection_name: str, tree: Tree) -> Tree:
|
49
50
|
l2: Tree = None
|
50
51
|
tech_details = a_client.get_technology_type_detail(tech)
|
@@ -55,12 +56,13 @@ def tech_details_viewer(tech: str, server_name: str, platform_url: str, user: st
|
|
55
56
|
description = tech_details.get('description', '---')
|
56
57
|
|
57
58
|
style = "bold bright_white on black"
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
59
|
+
|
60
|
+
bas_md = f"* **Name**: {name}\n"
|
61
|
+
bas_md += f"* **QualifiedName**: {qualified_name}\n"
|
62
|
+
bas_md += f"* **Category**: {category}\n"
|
63
|
+
bas_md += f"* **Technology Description**: {description}\n"
|
64
|
+
|
65
|
+
bas_out = Markdown(bas_md)
|
64
66
|
|
65
67
|
l2 = tree.add(Panel(bas_out))
|
66
68
|
ext_ref = tech_details.get('externalReferences', None)
|
@@ -14,7 +14,7 @@ examples/widgets/cat/list_projects.py,sha256=jP6HoVqGi-w4R1itgdAW1zamPLsgkvjvh8r
|
|
14
14
|
examples/widgets/cat/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
|
15
15
|
examples/widgets/cat/list_todos.py,sha256=wD9HevGcc4G_bxV25VUz1rRssdZHE33mF5zmJ6Lprt8,5522
|
16
16
|
examples/widgets/cli/__init__.py,sha256=6d_R0KZBNnJy9EBz9J2xvGFlx-3j_ZPqPCxKgdvYeDQ,291
|
17
|
-
examples/widgets/cli/egeria.py,sha256=
|
17
|
+
examples/widgets/cli/egeria.py,sha256=WTGHf1tJHq3IPiGada2QH1mMWggNrEIlXPFxjDR6Lew,23450
|
18
18
|
examples/widgets/cli/egeria_cat.py,sha256=f9KxOPAEFbeEtSAdk_czcBDLqCKsHkrpdiBuDDo-iUw,10301
|
19
19
|
examples/widgets/cli/egeria_my.py,sha256=xi2j1hzNnjDruJeR1qa8K9JPDgzaL_COsMkcieT4Vo8,5653
|
20
20
|
examples/widgets/cli/egeria_ops.py,sha256=Y2fNDFnaaMjt8vjOeUXneh4_WEyxp0ucMvIfdLn8Bik,10139
|
@@ -46,7 +46,7 @@ examples/widgets/ops/restart_integration_daemon.py,sha256=fID7qGFL5RD6rfn9PgXf5k
|
|
46
46
|
examples/widgets/tech/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
|
47
47
|
examples/widgets/tech/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
48
48
|
examples/widgets/tech/get_guid_info.py,sha256=p-peTX1Mahi8fNmcNVHOVI3OjqjlJwZjv7gRdBI4l0Q,4137
|
49
|
-
examples/widgets/tech/get_tech_details.py,sha256=
|
49
|
+
examples/widgets/tech/get_tech_details.py,sha256=vis_WedhYySa02nxDPJV1z814hB5_n97p8dm9jU57tQ,6019
|
50
50
|
examples/widgets/tech/list_asset_types.py,sha256=PHPtCXqCHhIw0K59hUvoKdybp6IKPt_9Wc0AJVDtdrg,4181
|
51
51
|
examples/widgets/tech/list_elements.py,sha256=xQg-PGS2oORed2ATVNPZvGVCGLEUHO5rOeXvgS6pkrg,4726
|
52
52
|
examples/widgets/tech/list_registered_services.py,sha256=TqZbT54vMGvHUAX_bovCce3A3eV_RbjSEtPP6u6ZJV0,6388
|
@@ -79,8 +79,8 @@ pyegeria/runtime_manager_omvs.py,sha256=oSVFeG_yBGXIvQR0EClLZqTZ6C5z5ReZzwm8cce8
|
|
79
79
|
pyegeria/server_operations.py,sha256=1z2wZLdrNZG6HlswY_Eh8qI1mlcjsQ59zO-AMy9XbUU,16605
|
80
80
|
pyegeria/utils.py,sha256=pkVmS3RrbjaS9yz7FtOCwaOfV5FMqz-__Rt5koCnd9c,5374
|
81
81
|
pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
|
82
|
-
pyegeria-0.7.
|
83
|
-
pyegeria-0.7.
|
84
|
-
pyegeria-0.7.
|
85
|
-
pyegeria-0.7.
|
86
|
-
pyegeria-0.7.
|
82
|
+
pyegeria-0.7.11.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
83
|
+
pyegeria-0.7.11.dist-info/METADATA,sha256=FDy_0lN6YamcOBl2vjk5axYpN4w0vGSqJ769lxEfA2E,2775
|
84
|
+
pyegeria-0.7.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
85
|
+
pyegeria-0.7.11.dist-info/entry_points.txt,sha256=UJ9j8ILCKryCUhbEIktWwLvJf0Isbuvpxv4TExaHJiA,2859
|
86
|
+
pyegeria-0.7.11.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|