pyegeria 1.5.1.0.10__py3-none-any.whl → 1.5.1.0.12__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.
@@ -55,7 +55,7 @@ def display_archive_list(
55
55
  save_output: bool,
56
56
  jupyter: bool = EGERIA_JUPYTER,
57
57
  width: int = EGERIA_WIDTH,
58
- ):
58
+ ) -> object:
59
59
  c_client = ClassificationManager(server, url, user_id=username)
60
60
  token = c_client.create_egeria_bearer_token(username, user_pass)
61
61
 
commands/cli/egeria.py CHANGED
@@ -918,13 +918,15 @@ def list_archives(ctx):
918
918
 
919
919
 
920
920
  @show.command("list-deployed-schemas")
921
- @click.option("--search-string", default="*", help="What database or catalog to search")
921
+ @click.option(
922
+ "--search_catalog", default="*", help="What database or catalog to search"
923
+ )
922
924
  @click.pass_context
923
- def list_deployed_schemas(search_string, ctx):
925
+ def list_deployed_schemas(search_catalog, ctx):
924
926
  """Display a tree graph of information about an asset"""
925
927
  c = ctx.obj
926
928
  list_deployed_database_schemas(
927
- search_string,
929
+ search_catalog,
928
930
  c.view_server,
929
931
  c.view_server_url,
930
932
  c.userid,
@@ -935,13 +937,13 @@ def list_deployed_schemas(search_string, ctx):
935
937
 
936
938
 
937
939
  @show.command("list-catalogs")
938
- @click.option("--search-string", default="*", help="Server to search for catalogs")
940
+ @click.option("--search_server", default="*", help="Server to search for catalogs")
939
941
  @click.pass_context
940
- def list_catalogs(search_string, ctx):
942
+ def list_catalogs(search_server, ctx):
941
943
  """Display a tree graph of information about an asset"""
942
944
  c = ctx.obj
943
945
  list_deployed_catalogs(
944
- search_string,
946
+ search_server,
945
947
  c.view_server,
946
948
  c.view_server_url,
947
949
  c.userid,
@@ -14,23 +14,23 @@ from trogon import tui
14
14
 
15
15
  from commands.cat.get_asset_graph import asset_viewer
16
16
  from commands.cat.get_collection import collection_viewer
17
+ from commands.cat.get_project_dependencies import project_dependency_viewer
18
+ from commands.cat.get_project_structure import project_structure_viewer
17
19
  from commands.cat.get_tech_type_elements import tech_viewer
18
20
  from commands.cat.get_tech_type_template import template_viewer
21
+ from commands.cat.glossary_actions import create_glossary, delete_glossary, create_term
22
+ from commands.cat.list_archives import display_archive_list
19
23
  from commands.cat.list_assets import display_assets
24
+ from commands.cat.list_cert_types import display_certifications
25
+ from commands.cat.list_deployed_catalogs import list_deployed_catalogs
26
+ from commands.cat.list_deployed_database_schemas import list_deployed_database_schemas
27
+ from commands.cat.list_deployed_databases import list_deployed_databases
20
28
  from commands.cat.list_glossary import display_glossary_terms
21
- from commands.cat.list_tech_types import display_tech_types
22
29
  from commands.cat.list_projects import display_project_list
23
- from commands.cat.list_todos import display_to_dos as list_todos
24
- from commands.cat.get_project_structure import project_structure_viewer
25
- from commands.cat.get_project_dependencies import project_dependency_viewer
26
- from commands.cat.list_cert_types import display_certifications
27
30
  from commands.cat.list_relationships import list_relationships
31
+ from commands.cat.list_tech_types import display_tech_types
32
+ from commands.cat.list_todos import display_to_dos as list_todos
28
33
  from commands.cat.list_user_ids import list_user_ids
29
- from commands.cat.list_archives import display_archive_list
30
- from commands.cat.list_deployed_database_schemas import list_deployed_database_schemas
31
- from commands.cat.list_deployed_catalogs import list_deployed_catalogs
32
- from commands.cat.glossary_actions import create_glossary, delete_glossary, create_term
33
- from commands.cat.list_deployed_databases import list_deployed_databases
34
34
 
35
35
  # from pyegeria import ServerOps
36
36
  from commands.cli.ops_config import Config
@@ -74,7 +74,7 @@ from commands.my.todo_actions import (
74
74
  help="URL of Egeria metadata store platform to connect to",
75
75
  )
76
76
  @click.option(
77
- "--integration-daemon",
77
+ "--integration_daemon",
78
78
  default="integration-daemon",
79
79
  envvar="EGERIA_INTEGRATION_DAEMON",
80
80
  help="Egeria integration daemon to work with",
@@ -199,8 +199,7 @@ def cli(
199
199
 
200
200
 
201
201
  @cli.group("show")
202
- @click.pass_context
203
- def show(ctx):
202
+ def show():
204
203
  """Display an Egeria Object"""
205
204
  pass
206
205
 
@@ -367,7 +366,7 @@ def show_projects(ctx, search_string):
367
366
  @click.pass_context
368
367
  def show_certification_types(ctx, search_string):
369
368
  """Show certification types
370
- - generally stay with the default..
369
+ - generally stay with the default.
371
370
  """
372
371
  c = ctx.obj
373
372
  display_certifications(
@@ -454,7 +453,7 @@ def show_relationships(ctx, relationship):
454
453
  "--status",
455
454
  type=click.Choice(
456
455
  ["OPEN", "IN_PROGRESS", "WAITING", "COMPLETE", "ABANDONED", "None"],
457
- case_sensitive="False",
456
+ case_sensitive=False,
458
457
  ),
459
458
  help="Enter an optional status filter",
460
459
  required=False,
@@ -492,20 +491,24 @@ def list_archives(ctx):
492
491
  """Display a tree graph of information about an asset"""
493
492
  c = ctx.obj
494
493
  display_archive_list(
495
- c.view_server, c.view_server_url, c.userid, c.password, None, c.jupyter, c.width
494
+ c.view_server,
495
+ c.view_server_url,
496
+ c.userid,
497
+ c.password,
498
+ False,
499
+ c.jupyter,
500
+ c.width,
496
501
  )
497
502
 
498
503
 
499
- @show.command("list-deployed-schemas")
500
- @click.option(
501
- "--search-catalog", default="*", help="What database or catalog to search"
502
- )
504
+ @show.command("list-schemas")
505
+ @click.option("--catalog", default="*", help="What database or catalog to search")
503
506
  @click.pass_context
504
- def list_deployed_schemas(search_catalog, ctx):
507
+ def list_deployed_schemas(ctx, catalog):
505
508
  """Display a tree graph of information about an asset"""
506
509
  c = ctx.obj
507
510
  list_deployed_database_schemas(
508
- search_catalog,
511
+ catalog,
509
512
  c.view_server,
510
513
  c.view_server_url,
511
514
  c.userid,
@@ -516,9 +519,9 @@ def list_deployed_schemas(search_catalog, ctx):
516
519
 
517
520
 
518
521
  @show.command("list-catalogs")
519
- @click.option("--search-server", default="*", help="Server to search for catalogs")
522
+ @click.option("--search_server", default="*", help="Server to search for catalogs")
520
523
  @click.pass_context
521
- def list_catalogs(search_server, ctx):
524
+ def list_catalogs(ctx, search_server):
522
525
  """Display a tree graph of information about an asset"""
523
526
  c = ctx.obj
524
527
  list_deployed_catalogs(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 1.5.1.0.10
3
+ Version: 1.5.1.0.12
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -7,7 +7,7 @@ commands/cat/get_project_structure.py,sha256=n2GbNd07w1DTo7jTR8b2ewXRyNcat_2BcCB
7
7
  commands/cat/get_tech_type_elements.py,sha256=-m3Q0BoNqkCtV8h75vMwTcOV-_ymEXmnJcr4Ec7WMAw,6180
8
8
  commands/cat/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
9
9
  commands/cat/glossary_actions.py,sha256=F5-NNiLvfHLbQKZ_RxS6XJ9HOAuXc75GMIAC5Xo0lJQ,7280
10
- commands/cat/list_archives.py,sha256=83LhNeZWhzRiE-oU6veuIk9ob4XDtDWUoXdGGXaYeE8,5454
10
+ commands/cat/list_archives.py,sha256=FEZ2XYnQIWo2PztWqnj6unn0pbblPU0-bMbTyI3csv4,5464
11
11
  commands/cat/list_assets.py,sha256=bNwSaBDz661hfnc2Rn4j4HPHAugKvz0XwN9L1m4FVQk,6529
12
12
  commands/cat/list_cert_types.py,sha256=mbCls_EqC5JKG5rvS4o69k7KgZ6aNXlcqoJ3DtHsTFA,7127
13
13
  commands/cat/list_deployed_catalogs.py,sha256=eG8K-d7BijD34el_yVx9yfnLJdfwTUiJVxd-gcGwo7k,7157
@@ -20,8 +20,8 @@ commands/cat/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFo
20
20
  commands/cat/list_todos.py,sha256=iPxHRyW3X5tiREio4TUOwRPvNPjU0gxm3pVnUI79ir4,6542
21
21
  commands/cat/list_user_ids.py,sha256=7JinL7rknPbGusIb8ikXKEaV1vvbuvx_WWtbmlfS_DY,5093
22
22
  commands/cli/__init__.py,sha256=hpTVSMP2gnPRhcAZPdeUEsQ-eaDySlXlk239dNWYmng,292
23
- commands/cli/egeria.py,sha256=TkoHu46FS8m9Dzv62jdf2XSmz9JLoDaMkE4RRtV1eG8,31247
24
- commands/cli/egeria_cat.py,sha256=KSFHqwgSiaa1x88ksbSDqkAgcMqE5birmudjnGuBA_A,14803
23
+ commands/cli/egeria.py,sha256=NDRTZvqWo7H7gcgO_mLVydeSyWKbdeDYl9Eh2vI37PM,31256
24
+ commands/cli/egeria_cat.py,sha256=9ClT9npUZcZDCUef7u_UMjOQ6L_Q-cqyo1yfqN5a1q8,14791
25
25
  commands/cli/egeria_my.py,sha256=9zIpUDLeA_R-0rgCSQfEZTtVmkxPcEAsYcCTn1wQFrE,6181
26
26
  commands/cli/egeria_ops.py,sha256=fxDXYWXRhexx06PdSLCp2FhgUtS13NdDpyg7ea775fc,11531
27
27
  commands/cli/egeria_tech.py,sha256=eTDHTHDVEYmr6gUPGfido_Uf7Fec0Nuyxlkhg4KAMAw,13160
@@ -101,8 +101,8 @@ pyegeria/server_operations.py,sha256=ciH890hYT85YQ6OpByn4w7s3a7TtvWZpIG5rkRqbcI0
101
101
  pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
102
102
  pyegeria/valid_metadata_omvs.py,sha256=tfCGXed5LLt59YA8uZNNtd9UJ-lRZfPU_uZxK31Yux0,65069
103
103
  pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
104
- pyegeria-1.5.1.0.10.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
105
- pyegeria-1.5.1.0.10.dist-info/METADATA,sha256=GCo6HPbrA52D7WRa4F0d30lOFCRwPJt7Dg7GI_JGopc,2998
106
- pyegeria-1.5.1.0.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
107
- pyegeria-1.5.1.0.10.dist-info/entry_points.txt,sha256=Pc5kHnxv-vbRpwVMxSSWl66vmf7EZjgzf7nZzz1ow3M,4002
108
- pyegeria-1.5.1.0.10.dist-info/RECORD,,
104
+ pyegeria-1.5.1.0.12.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
105
+ pyegeria-1.5.1.0.12.dist-info/METADATA,sha256=ZMXiQefDTKCr8G3E5Jk_q_b6nG7hDHoV79FRpm1iQWY,2998
106
+ pyegeria-1.5.1.0.12.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
107
+ pyegeria-1.5.1.0.12.dist-info/entry_points.txt,sha256=Pc5kHnxv-vbRpwVMxSSWl66vmf7EZjgzf7nZzz1ow3M,4002
108
+ pyegeria-1.5.1.0.12.dist-info/RECORD,,