pyegeria 0.8.4.7__py3-none-any.whl → 0.8.4.8__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/__init__.py +0 -1
- pyegeria/egeria_config_client.py +3 -4
- pyegeria/egeria_tech_client.py +5 -0
- {pyegeria-0.8.4.7.dist-info → pyegeria-0.8.4.8.dist-info}/METADATA +1 -1
- {pyegeria-0.8.4.7.dist-info → pyegeria-0.8.4.8.dist-info}/RECORD +8 -9
- pyegeria/egeria_ops_client.py +0 -75
- {pyegeria-0.8.4.7.dist-info → pyegeria-0.8.4.8.dist-info}/LICENSE +0 -0
- {pyegeria-0.8.4.7.dist-info → pyegeria-0.8.4.8.dist-info}/WHEEL +0 -0
- {pyegeria-0.8.4.7.dist-info → pyegeria-0.8.4.8.dist-info}/entry_points.txt +0 -0
pyegeria/__init__.py
CHANGED
@@ -73,7 +73,6 @@ from .egeria_my_client import EgeriaMy
|
|
73
73
|
from .egeria_cat_client import EgeriaCat
|
74
74
|
from .egeria_tech_client import EgeriaTech
|
75
75
|
from .egeria_config_client import EgeriaConfig
|
76
|
-
from .egeria_ops_client import EgeriaOps
|
77
76
|
from .egeria_client import Egeria
|
78
77
|
|
79
78
|
#
|
pyegeria/egeria_config_client.py
CHANGED
@@ -6,12 +6,10 @@ Client to configure the Egeria platform and servers
|
|
6
6
|
|
7
7
|
"""
|
8
8
|
|
9
|
-
from pyegeria import
|
10
|
-
FullServerConfig,
|
11
|
-
)
|
9
|
+
from pyegeria import FullServerConfig, ServerOps
|
12
10
|
|
13
11
|
|
14
|
-
class EgeriaConfig(FullServerConfig):
|
12
|
+
class EgeriaConfig(FullServerConfig, ServerOps):
|
15
13
|
"""
|
16
14
|
Client for configuring the Egeria Platform and Servers
|
17
15
|
|
@@ -35,6 +33,7 @@ class EgeriaConfig(FullServerConfig):
|
|
35
33
|
self, server_name: str, platform_url: str, user_id: str, user_pwd: str = None
|
36
34
|
):
|
37
35
|
FullServerConfig.__init__(self, server_name, platform_url, user_id, user_pwd)
|
36
|
+
ServerOps.__init__(self, server_name, platform_url, user_id, user_pwd)
|
38
37
|
|
39
38
|
|
40
39
|
if __name__ == "__main__":
|
pyegeria/egeria_tech_client.py
CHANGED
@@ -20,6 +20,7 @@ from pyegeria import (
|
|
20
20
|
ActionAuthor,
|
21
21
|
ClassificationManager,
|
22
22
|
RegisteredInfo,
|
23
|
+
RuntimeManager,
|
23
24
|
)
|
24
25
|
|
25
26
|
|
@@ -29,6 +30,7 @@ class EgeriaTech(
|
|
29
30
|
EgeriaCat,
|
30
31
|
ClassificationManager,
|
31
32
|
RegisteredInfo,
|
33
|
+
RuntimeManager,
|
32
34
|
ValidMetadataManager,
|
33
35
|
):
|
34
36
|
"""
|
@@ -72,6 +74,9 @@ class EgeriaTech(
|
|
72
74
|
RegisteredInfo.__init__(
|
73
75
|
self, server_name, platform_url, user_id, user_pwd, token
|
74
76
|
)
|
77
|
+
RuntimeManager.__init__(
|
78
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
79
|
+
)
|
75
80
|
ValidMetadataManager.__init__(
|
76
81
|
self, server_name, platform_url, user_id, user_pwd, token
|
77
82
|
)
|
@@ -63,7 +63,7 @@ examples/widgets/tech/list_relationship_types.py,sha256=BlVzrPznZXqMVLN2-2vYEVRG
|
|
63
63
|
examples/widgets/tech/list_tech_templates.py,sha256=RiyA8a4fIL9BGeGf37Bkk471mK5ECkDJMN9QVNReC1M,6192
|
64
64
|
examples/widgets/tech/list_valid_metadata_values.py,sha256=N3D0_BmREPszgde3uvvYdfzq7DJ46uMOv2t1vtncGsw,6333
|
65
65
|
examples/widgets/tech/x_list_related_elements.py,sha256=qBsf1619cecaMCTzG0MG22fAT32WNH2Z3CXrjo9z-5Y,5853
|
66
|
-
pyegeria/__init__.py,sha256=
|
66
|
+
pyegeria/__init__.py,sha256=uZct2pKZmWbIoIPAG-uI29gp0cg8b-ZaP2rVskxKUYE,9456
|
67
67
|
pyegeria/_client.py,sha256=pzndEJKN0tcnT7gQFa0r3pzXm9pK4zJKANZOXO79aOs,25949
|
68
68
|
pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8MdpmVCQ,17264
|
69
69
|
pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
|
@@ -78,10 +78,9 @@ pyegeria/core_omag_server_config.py,sha256=_GstDYb6XYNCt59l1mMxTR8EoUvwlBi3RK93w
|
|
78
78
|
pyegeria/create_tech_guid_lists.py,sha256=RYRWdXm2bhCMkbUlOdMJ8cKZnamJvSkY5XMK2RjLX4M,4631
|
79
79
|
pyegeria/egeria_cat_client.py,sha256=WyxDYklm2eDpsiHLXVJi4WP5BBeXlvWWX5h5CLevdcE,1877
|
80
80
|
pyegeria/egeria_client.py,sha256=t1SZcM4aftc86G0ZcU4pk7H4Hd4LfjhlRrDraqOnQBY,3360
|
81
|
-
pyegeria/egeria_config_client.py,sha256=
|
81
|
+
pyegeria/egeria_config_client.py,sha256=hsfJz_eDlRh0GO9YrCTcvXIC0wKMHtL22QS3j2s_o0U,1183
|
82
82
|
pyegeria/egeria_my_client.py,sha256=VnUQHLdk-Lbzi25UfutSSfKFUs1xP6U5T_2N5EZ0PWU,1404
|
83
|
-
pyegeria/
|
84
|
-
pyegeria/egeria_tech_client.py,sha256=1za9EIYqO1DKBfLRwxdoKSpdEznKCCPmaUpezkEZKro,2238
|
83
|
+
pyegeria/egeria_tech_client.py,sha256=DVT5eTyeKAubzzPwUwV7cw-eANjAqpPEMfgVXJP2c5k,2391
|
85
84
|
pyegeria/feedback_manager_omvs.py,sha256=U0wzb5kU24vaMqhGinZ2Z5UJkhqEylhXWnnHeaS-yDU,162098
|
86
85
|
pyegeria/full_omag_server_config.py,sha256=EMVdjsOoGkunV_aiHU4hbzAUMw8DfaZg3604kkcJCqM,47012
|
87
86
|
pyegeria/glossary_browser_omvs.py,sha256=PUdZHEc-OKO9z1mBSEb5J0RVszDhsdS6d8OciSAsOHI,103199
|
@@ -95,8 +94,8 @@ pyegeria/runtime_manager_omvs.py,sha256=OlrJ3xO7-qYZcHS0YKWo57QLt5x_CZ1bOVcrNRlm
|
|
95
94
|
pyegeria/server_operations.py,sha256=ciH890hYT85YQ6OpByn4w7s3a7TtvWZpIG5rkRqbcI0,16766
|
96
95
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
97
96
|
pyegeria/valid_metadata_omvs.py,sha256=6Hc4g9BOS8w1ILfTG3_A1tfIX3HLtpgZZvcC-z9GePU,36185
|
98
|
-
pyegeria-0.8.4.
|
99
|
-
pyegeria-0.8.4.
|
100
|
-
pyegeria-0.8.4.
|
101
|
-
pyegeria-0.8.4.
|
102
|
-
pyegeria-0.8.4.
|
97
|
+
pyegeria-0.8.4.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
98
|
+
pyegeria-0.8.4.8.dist-info/METADATA,sha256=Yq4MD8UdO5pOeE_nc3guYEfhwBDb9LlEe1Hq3k216xM,2819
|
99
|
+
pyegeria-0.8.4.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
100
|
+
pyegeria-0.8.4.8.dist-info/entry_points.txt,sha256=5Q9bDxIqPgdhd3lDnzdRSCYy9hZtNm_BL49bcmbBpGQ,3808
|
101
|
+
pyegeria-0.8.4.8.dist-info/RECORD,,
|
pyegeria/egeria_ops_client.py
DELETED
@@ -1,75 +0,0 @@
|
|
1
|
-
"""
|
2
|
-
SPDX-License-Identifier: Apache-2.0
|
3
|
-
Copyright Contributors to the ODPi Egeria project.
|
4
|
-
|
5
|
-
Client to manage Egeria operations. Inherits methods from EgeriaConfig,
|
6
|
-
ServerOps, RuntimeManager and Platform.
|
7
|
-
|
8
|
-
"""
|
9
|
-
from examples.doc_samples.Create_Sustainability_Collection_Sample import token
|
10
|
-
from pyegeria._exceptions import (
|
11
|
-
InvalidParameterException,
|
12
|
-
)
|
13
|
-
from pyegeria import (
|
14
|
-
max_paging_size,
|
15
|
-
body_slimmer,
|
16
|
-
MyProfile,
|
17
|
-
FeedbackManager,
|
18
|
-
EgeriaCat,
|
19
|
-
ValidMetadataManager,
|
20
|
-
AutomatedCuration,
|
21
|
-
ActionAuthor,
|
22
|
-
ClassificationManager,
|
23
|
-
RegisteredInfo,
|
24
|
-
RuntimeManager,
|
25
|
-
ServerOps,
|
26
|
-
EgeriaConfig,
|
27
|
-
Platform,
|
28
|
-
EgeriaMy,
|
29
|
-
)
|
30
|
-
|
31
|
-
|
32
|
-
class EgeriaOps(RuntimeManager, EgeriaConfig, ServerOps, EgeriaMy):
|
33
|
-
"""
|
34
|
-
Client for managing Egeria operations.
|
35
|
-
|
36
|
-
Attributes:
|
37
|
-
|
38
|
-
server_name: str
|
39
|
-
Name of the server to use.
|
40
|
-
platform_url : str
|
41
|
-
URL of the server platform to connect to
|
42
|
-
user_id : str
|
43
|
-
The identity of the user calling the method - this sets a default optionally used by the methods
|
44
|
-
when the user doesn't pass the user_id on a method call.
|
45
|
-
user_pwd: str
|
46
|
-
The password associated with the user_id. Defaults to None
|
47
|
-
token: str, optional
|
48
|
-
Bearer token
|
49
|
-
|
50
|
-
Methods:
|
51
|
-
Inherits methods from EgeriaCat, ActionAuthor, AutomatedCuration,
|
52
|
-
ClassificationManager, RegisteredInfo, ValidMetadataManager
|
53
|
-
"""
|
54
|
-
|
55
|
-
def __init__(
|
56
|
-
self,
|
57
|
-
server_name: str,
|
58
|
-
platform_url: str,
|
59
|
-
user_id: str,
|
60
|
-
user_pwd: str = None,
|
61
|
-
token: str = None,
|
62
|
-
):
|
63
|
-
EgeriaConfig.__init__(self, server_name, platform_url, user_id, user_pwd)
|
64
|
-
RuntimeManager.__init__(
|
65
|
-
self, server_name, platform_url, user_id, user_pwd, token=token
|
66
|
-
)
|
67
|
-
ServerOps.__init__(self, server_name, platform_url, user_id, user_pwd)
|
68
|
-
|
69
|
-
EgeriaMy.__init__(
|
70
|
-
self, server_name, platform_url, user_id, user_pwd, token=token
|
71
|
-
)
|
72
|
-
|
73
|
-
|
74
|
-
if __name__ == "__main__":
|
75
|
-
print("Main-Ops Client")
|
File without changes
|
File without changes
|
File without changes
|