pyegeria 5.2.0.42.8__py3-none-any.whl → 5.2.1__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.
- pyegeria/commands/cat/glossary_actions.py +2 -3
- pyegeria/commands/cli/egeria_cat.py +9 -21
- pyegeria/commands/cli/ops_config.py +18 -17
- {pyegeria-5.2.0.42.8.dist-info → pyegeria-5.2.1.dist-info}/METADATA +8 -9
- {pyegeria-5.2.0.42.8.dist-info → pyegeria-5.2.1.dist-info}/RECORD +8 -8
- {pyegeria-5.2.0.42.8.dist-info → pyegeria-5.2.1.dist-info}/LICENSE +0 -0
- {pyegeria-5.2.0.42.8.dist-info → pyegeria-5.2.1.dist-info}/WHEEL +0 -0
- {pyegeria-5.2.0.42.8.dist-info → pyegeria-5.2.1.dist-info}/entry_points.txt +0 -0
@@ -127,7 +127,7 @@ def create_glossary(
|
|
127
127
|
@click.option("--userid", default=EGERIA_USER, help="Egeria user")
|
128
128
|
@click.option("--password", default=EGERIA_USER_PASSWORD, help="Egeria user password")
|
129
129
|
@click.option("--timeout", default=60, help="Number of seconds to wait")
|
130
|
-
@click.argument("glossary-guid"
|
130
|
+
@click.argument("glossary-guid")
|
131
131
|
def delete_glossary(server, url, userid, password, timeout, glossary_guid):
|
132
132
|
"""Delete the glossary specified"""
|
133
133
|
m_client = EgeriaTech(server, url, user_id=userid, user_pwd=password)
|
@@ -164,7 +164,7 @@ def delete_glossary(server, url, userid, password, timeout, glossary_guid):
|
|
164
164
|
"--status",
|
165
165
|
help="Status",
|
166
166
|
type=click.Choice(
|
167
|
-
["DRAFT", "ACTIVE", "
|
167
|
+
["DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", "OTHER"], case_sensitive=False
|
168
168
|
),
|
169
169
|
default="DRAFT",
|
170
170
|
)
|
@@ -329,7 +329,6 @@ def import_terms(
|
|
329
329
|
@click.command("export-terms")
|
330
330
|
@click.option(
|
331
331
|
"--glossary_guid",
|
332
|
-
default=EGERIA_HOME_GLOSSARY_GUID,
|
333
332
|
help="GUID of Glossary to export",
|
334
333
|
required=True,
|
335
334
|
)
|
@@ -138,6 +138,12 @@ from pyegeria.commands.tech.list_asset_types import display_asset_types
|
|
138
138
|
default=os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None),
|
139
139
|
help="Glossary guid to use as the home glossary",
|
140
140
|
)
|
141
|
+
@click.option(
|
142
|
+
"--glossary_path",
|
143
|
+
default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
|
144
|
+
help="Path to glossary import/export files",
|
145
|
+
)
|
146
|
+
|
141
147
|
@click.pass_context
|
142
148
|
def cli(
|
143
149
|
ctx,
|
@@ -157,6 +163,7 @@ def cli(
|
|
157
163
|
jupyter,
|
158
164
|
width,
|
159
165
|
home_glossary_guid,
|
166
|
+
glossary_path
|
160
167
|
):
|
161
168
|
"""An Egeria Command Line interface for Operations"""
|
162
169
|
ctx.obj = Config(
|
@@ -176,6 +183,7 @@ def cli(
|
|
176
183
|
jupyter,
|
177
184
|
width,
|
178
185
|
home_glossary_guid,
|
186
|
+
glossary_path,
|
179
187
|
)
|
180
188
|
ctx.max_content_width = 250
|
181
189
|
ctx.ensure_object(Config)
|
@@ -622,27 +630,7 @@ tell_todo.add_command(delete_todo)
|
|
622
630
|
tell_todo.add_command(create_todo)
|
623
631
|
|
624
632
|
|
625
|
-
|
626
|
-
# @click.pass_context
|
627
|
-
# def survey(ctx):
|
628
|
-
# """Refresh the specified integration connector or ALL connectors if not specified"""
|
629
|
-
# c = ctx.obj
|
630
|
-
# pass
|
631
|
-
|
632
|
-
|
633
|
-
# @survey.command("survey-uc-server")
|
634
|
-
# @click.pass_context
|
635
|
-
# @click.option(
|
636
|
-
# "--uc_endpoint",
|
637
|
-
# default="https://localhost:8080",
|
638
|
-
# help="Endpoint of the Unity Catalog Server to Survey",
|
639
|
-
# )
|
640
|
-
# def survey_uc_server(ctx, uc_endpoint):
|
641
|
-
# """Survey the Unity Catalog server at the given endpoint"""
|
642
|
-
# c = ctx.obj
|
643
|
-
# pass
|
644
|
-
# # restart_connector(connector, c.integration_daemon, c.integration_daemon_url,
|
645
|
-
# # c.userid, c.password)
|
633
|
+
|
646
634
|
|
647
635
|
|
648
636
|
if __name__ == "__main__":
|
@@ -4,22 +4,23 @@ import click
|
|
4
4
|
class Config(object):
|
5
5
|
def __init__(
|
6
6
|
self,
|
7
|
-
server: str
|
8
|
-
url: str
|
9
|
-
view_server: str
|
10
|
-
view_server_url: str
|
11
|
-
integration_daemon: str
|
12
|
-
integration_daemon_url: str
|
13
|
-
engine_host: str
|
14
|
-
engine_host_url: str
|
15
|
-
admin_user: str
|
16
|
-
admin_user_password: str
|
17
|
-
userid: str
|
18
|
-
password: str
|
19
|
-
timeout: int
|
20
|
-
jupyter: bool
|
21
|
-
width: int
|
22
|
-
home_glossary_guid: str
|
7
|
+
server: str ,
|
8
|
+
url: str ,
|
9
|
+
view_server: str ,
|
10
|
+
view_server_url: str,
|
11
|
+
integration_daemon: str,
|
12
|
+
integration_daemon_url: str,
|
13
|
+
engine_host: str,
|
14
|
+
engine_host_url: str,
|
15
|
+
admin_user: str ,
|
16
|
+
admin_user_password: str ,
|
17
|
+
userid: str ,
|
18
|
+
password: str ,
|
19
|
+
timeout: int ,
|
20
|
+
jupyter: bool ,
|
21
|
+
width: int ,
|
22
|
+
home_glossary_guid: str ,
|
23
|
+
glossary_path: str,
|
23
24
|
):
|
24
25
|
self.metadata_store = server
|
25
26
|
self.metadata_store_url = url
|
@@ -39,6 +40,6 @@ class Config(object):
|
|
39
40
|
self.server = server
|
40
41
|
self.url = url
|
41
42
|
self.home_glossary_guid = home_glossary_guid
|
42
|
-
|
43
|
+
self.glossary_path = glossary_path
|
43
44
|
|
44
45
|
pass_config = click.make_pass_decorator(Config)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyegeria
|
3
|
-
Version: 5.2.
|
3
|
+
Version: 5.2.1
|
4
4
|
Summary: A python client for Egeria
|
5
5
|
Home-page: https://github.com/odpi/egeria-python
|
6
6
|
License: Apache 2.0
|
@@ -14,18 +14,17 @@ Classifier: Programming Language :: Python
|
|
14
14
|
Classifier: Programming Language :: Python :: 3
|
15
15
|
Requires-Dist: click (>=8.1.7,<9.0.0)
|
16
16
|
Requires-Dist: confluent-kafka (>=2.5.0,<3.0.0)
|
17
|
-
Requires-Dist: httpx
|
17
|
+
Requires-Dist: httpx
|
18
18
|
Requires-Dist: jupyter (>=1.0.0,<2.0.0)
|
19
|
-
Requires-Dist: mermaid-py
|
19
|
+
Requires-Dist: mermaid-py
|
20
20
|
Requires-Dist: psycopg2-binary (>=2.9.9,<3.0.0)
|
21
21
|
Requires-Dist: pytest (>=8.2.2,<9.0.0)
|
22
|
-
Requires-Dist: requests
|
23
|
-
Requires-Dist: rich
|
24
|
-
Requires-Dist:
|
25
|
-
Requires-Dist: textual (>=0.86,<0.87)
|
22
|
+
Requires-Dist: requests
|
23
|
+
Requires-Dist: rich
|
24
|
+
Requires-Dist: textual
|
26
25
|
Requires-Dist: trogon (>=0.6.0,<0.7.0)
|
27
|
-
Requires-Dist: urllib3
|
28
|
-
Requires-Dist: validators
|
26
|
+
Requires-Dist: urllib3
|
27
|
+
Requires-Dist: validators
|
29
28
|
Project-URL: Repository, https://github.com/odpi/egeria-python
|
30
29
|
Description-Content-Type: text/markdown
|
31
30
|
|
@@ -19,7 +19,7 @@ pyegeria/commands/cat/get_collection.py,sha256=dzgRIlMkQo0su-ZBdWaZ2txkC_J-bvass
|
|
19
19
|
pyegeria/commands/cat/get_project_dependencies.py,sha256=B0JaMSUi0hzVgos1sTY2uUPGy1DzKEJMIbbYfMUWvQA,5981
|
20
20
|
pyegeria/commands/cat/get_project_structure.py,sha256=n2GbNd07w1DTo7jTR8b2ewXRyNcat_2BcCBRyDMldwk,5969
|
21
21
|
pyegeria/commands/cat/get_tech_type_elements.py,sha256=fD45AEQZUpUkw30Rt7CjovRjtWDxsACBG9KD1Ok3Yx0,6178
|
22
|
-
pyegeria/commands/cat/glossary_actions.py,sha256=
|
22
|
+
pyegeria/commands/cat/glossary_actions.py,sha256=CFiQrcTrARsNCB5Pu6KjsbXnQVqnfvZe_QAEVKozYuY,12671
|
23
23
|
pyegeria/commands/cat/list_assets.py,sha256=VyMp33T7oGpnIer9g6YaxraYJXtpmbZwn--MIrjRVT4,6270
|
24
24
|
pyegeria/commands/cat/list_cert_types.py,sha256=x3R7ydIgXQmQyObE2Ffvr3187acFlsN1fXD1vuznJrc,7123
|
25
25
|
pyegeria/commands/cat/list_collections.py,sha256=I-0h_zFfbAUzmbnr8T0fGZEzsw9FQsrgozdn3s_hr4Y,5982
|
@@ -36,12 +36,12 @@ pyegeria/commands/cat/list_todos.py,sha256=iPxHRyW3X5tiREio4TUOwRPvNPjU0gxm3pVnU
|
|
36
36
|
pyegeria/commands/cat/list_user_ids.py,sha256=7JinL7rknPbGusIb8ikXKEaV1vvbuvx_WWtbmlfS_DY,5093
|
37
37
|
pyegeria/commands/cli/__init__.py,sha256=hpTVSMP2gnPRhcAZPdeUEsQ-eaDySlXlk239dNWYmng,292
|
38
38
|
pyegeria/commands/cli/egeria.py,sha256=HdYIpNW4NOzcln-8d8EZUlTe-rTeJmWGfxhdHJqhS7k,45605
|
39
|
-
pyegeria/commands/cli/egeria_cat.py,sha256=
|
39
|
+
pyegeria/commands/cli/egeria_cat.py,sha256=u6yhpQmXZn1f1HteuAWhaA36Xp02bkTbpXfDwc9H8XQ,16012
|
40
40
|
pyegeria/commands/cli/egeria_login_tui.py,sha256=m7gUiiPdeu2vxjiyxy-6OhAekSa5kVQnOUur2qyvbUA,9480
|
41
41
|
pyegeria/commands/cli/egeria_my.py,sha256=XLd5ARwrVHZM7SGUKadJznb5KUULCmx2WIid3TKKmhY,6116
|
42
42
|
pyegeria/commands/cli/egeria_ops.py,sha256=gVdLv5CgIyccZAAGS-RjwaW3cFrQOJJYhgWuMWQcl60,12580
|
43
43
|
pyegeria/commands/cli/egeria_tech.py,sha256=DllmvtwPdYLnztyxEVg3fCcUT9XMlXAdIJyU8qAilb0,15709
|
44
|
-
pyegeria/commands/cli/ops_config.py,sha256=
|
44
|
+
pyegeria/commands/cli/ops_config.py,sha256=lbMDjgRM32bX12_rHT0wRXtV-wER8PGBLTCG6DU9858,1338
|
45
45
|
pyegeria/commands/cli/txt_custom_v2.tcss,sha256=ixkzpFyTZ5i3byFO9EmEAeJgzbEa7nZb_3iTgxNtVPk,232
|
46
46
|
pyegeria/commands/doc/README.md,sha256=3TDtLjanw5Sn5fhw0apsYv2HS2Hd7NSdjLu3qTwwXBg,13941
|
47
47
|
pyegeria/commands/doc/Visual Command Reference/README.md,sha256=StopwmMDYmJgfKeRC8nHOJMbXkz6n15zIDJBmHDPoxM,32445
|
@@ -225,8 +225,8 @@ pyegeria/template_manager_omvs.py,sha256=Sw5xsQAhy7a48xFCg59mg9_nqyhawoS9v4WyF-P
|
|
225
225
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
226
226
|
pyegeria/valid_metadata_omvs.py,sha256=kmcyXBsu99L25r16w9xVXqU_KwADsGuft4yPDZzyUds,65032
|
227
227
|
pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
|
228
|
-
pyegeria-5.2.
|
229
|
-
pyegeria-5.2.
|
230
|
-
pyegeria-5.2.
|
231
|
-
pyegeria-5.2.
|
232
|
-
pyegeria-5.2.
|
228
|
+
pyegeria-5.2.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
229
|
+
pyegeria-5.2.1.dist-info/METADATA,sha256=v7aEmKs4RI5jm7kawkiIjixccEVFFEzHxSiryw7u4go,2721
|
230
|
+
pyegeria-5.2.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
231
|
+
pyegeria-5.2.1.dist-info/entry_points.txt,sha256=JK212otpaYZogRHHwMrHy3fQUpAsg_DC3LkRUl59V2s,5373
|
232
|
+
pyegeria-5.2.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|