pyegeria 0.1.1.4__py3-none-any.whl → 0.1.1.5__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.
@@ -13,6 +13,7 @@ companion service is also configured and running.
13
13
  import pandas as pd
14
14
  from tabulate import tabulate
15
15
 
16
+ from ._validators import validate_name
16
17
  from .utils import wrap_text
17
18
 
18
19
  from ._client import Client
@@ -48,14 +49,13 @@ class RegisteredInfo(Client):
48
49
 
49
50
  def __init__(
50
51
  self,
52
+ server_name: str,
51
53
  platform_url: str,
52
54
  user_id: str,
53
55
  user_pwd: str = None,
54
56
  verify_flag: bool = False,
55
- server_name: str = None
56
57
  ):
57
- if server_name is None:
58
- server_name = "NA"
58
+ validate_name(server_name)
59
59
  Client.__init__(self, server_name, platform_url,
60
60
  user_id, user_pwd, verify_flag)
61
61
  self.admin_command_root = (f"{self.platform_url}/open-metadata/platform-services/users/"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.1.1.4
3
+ Version: 0.1.1.5
4
4
  Summary: A python client for Egeria
5
5
  Project-URL: Homepage, https://github.com/odpi/egeria-python
6
6
  Project-URL: Issues, https://github.com/odpi/egeria-python/issues
@@ -6,10 +6,10 @@ pyegeria/_validators.py,sha256=1K50pJQrppx1r6-bJU5saEQ8Q7DBZcxS8hjMCWcSjJY,12626
6
6
  pyegeria/config.toml,sha256=2Jp6ozhlVgDLWeG5702dTTAYEUv_jYNAFFWpEyR8xV8,214
7
7
  pyegeria/core_omag_server_config.py,sha256=AhJqXxNkbY_lKDlXJxyZ-UrmGr2Ohqsg-W35W5h9gQ8,89024
8
8
  pyegeria/platform_services.py,sha256=DCEkcQ-qXZ115crfc4sSpow-YgcVNF-PBMTYJy52Va4,19653
9
- pyegeria/registered_info.py,sha256=f9cskHLHFrbLFtE4kBqkIV1ljS0W_M798A2gUV4KuLc,7402
9
+ pyegeria/registered_info.py,sha256=TZ35uRmR-lgYZjGa09Ae6wbigm7c9XhNCx_7K67JT6E,7407
10
10
  pyegeria/server_operations.py,sha256=HADaidO7lGygbGHxNYeBVv36orxFOJ7c-js56jtOM1w,7959
11
11
  pyegeria/utils.py,sha256=uRw8TFlVBOQl_lem8Inm-zzXoWgCJblZHRNvEgSc738,5257
12
- pyegeria-0.1.1.4.dist-info/METADATA,sha256=Dis6O4LGDZVY5CD330GL2A8oHSLdnZVYITRVq8HL_PI,2124
13
- pyegeria-0.1.1.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
14
- pyegeria-0.1.1.4.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
- pyegeria-0.1.1.4.dist-info/RECORD,,
12
+ pyegeria-0.1.1.5.dist-info/METADATA,sha256=v-bxRvDjoXdZW6GBARxyGI8tsRLGeaXjqxk2r348jzY,2124
13
+ pyegeria-0.1.1.5.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
14
+ pyegeria-0.1.1.5.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
+ pyegeria-0.1.1.5.dist-info/RECORD,,