pyegeria 5.3.9.7__py3-none-any.whl → 5.3.9.9__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/collection_manager_omvs.py +9 -4
- pyegeria/data_designer_omvs.py +19 -8
- {pyegeria-5.3.9.7.dist-info → pyegeria-5.3.9.9.dist-info}/METADATA +1 -1
- {pyegeria-5.3.9.7.dist-info → pyegeria-5.3.9.9.dist-info}/RECORD +8 -8
- {pyegeria-5.3.9.7.dist-info → pyegeria-5.3.9.9.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.9.7.dist-info → pyegeria-5.3.9.9.dist-info}/WHEEL +0 -0
- {pyegeria-5.3.9.7.dist-info → pyegeria-5.3.9.9.dist-info}/entry_points.txt +0 -0
pyegeria/__init__.py
CHANGED
@@ -10,7 +10,6 @@ The first capabilities are around Egeria's platform services used to start and s
|
|
10
10
|
the server platform and servers.
|
11
11
|
|
12
12
|
"""
|
13
|
-
from ..commands import display_integration_daemon_status, display_gov_eng_status, display_engine_activity_c
|
14
13
|
|
15
14
|
from ._globals import (INTEGRATION_GUIDS, TEMPLATE_GUIDS, default_time_out, disable_ssl_warnings, enable_ssl_check,
|
16
15
|
is_debug, max_paging_size, NO_ELEMENTS_FOUND, NO_ASSETS_FOUND, NO_SERVERS_FOUND,
|
@@ -2158,7 +2158,9 @@ class CollectionManager(Client):
|
|
2158
2158
|
|
2159
2159
|
if page_size is None:
|
2160
2160
|
page_size = self.page_size
|
2161
|
-
|
2161
|
+
if collection_guid is None:
|
2162
|
+
collection_guid = self.__get_guid__(collection_guid, collection_name, "name", collection_qname, None, )
|
2163
|
+
|
2162
2164
|
url = (f"{self.collection_command_root}/{collection_guid}/"
|
2163
2165
|
f"members?startFrom={start_from}&pageSize={page_size}")
|
2164
2166
|
|
@@ -2535,9 +2537,12 @@ class CollectionManager(Client):
|
|
2535
2537
|
# finally, construct a list of member information
|
2536
2538
|
for member_rel in members:
|
2537
2539
|
member_guid = member_rel["elementHeader"]["guid"]
|
2538
|
-
member_resp = await self.
|
2539
|
-
|
2540
|
-
|
2540
|
+
member_resp = await self._async_get_collection_by_guid(member_guid)
|
2541
|
+
if isinstance(member_resp,(dict,list)):
|
2542
|
+
member = member_resp.get("element", None)
|
2543
|
+
if member is None:
|
2544
|
+
continue
|
2545
|
+
else:
|
2541
2546
|
continue
|
2542
2547
|
# print(json.dumps(member, indent = 4))
|
2543
2548
|
|
pyegeria/data_designer_omvs.py
CHANGED
@@ -1126,10 +1126,15 @@ r replace_all_properties: bool, default = False
|
|
1126
1126
|
"""
|
1127
1127
|
|
1128
1128
|
body = {"filter": filter}
|
1129
|
+
starts_with_s = str(starts_with).lower()
|
1130
|
+
ends_with_s = str(ends_with).lower()
|
1131
|
+
ignore_case_s = str(ignore_case).lower()
|
1129
1132
|
|
1130
1133
|
possible_query_params = query_string(
|
1131
|
-
[("startFrom", start_from), ("pageSize", page_size), ("startsWith",
|
1132
|
-
("
|
1134
|
+
[("startFrom", start_from), ("pageSize", page_size), ("startsWith", ends_with_s), ("endsWith", ends_with_s),
|
1135
|
+
("ignoreCase", ignore_case_s),])
|
1136
|
+
|
1137
|
+
|
1133
1138
|
|
1134
1139
|
url = (f"{base_path(self, self.view_server)}/data-structures/by-search-string"
|
1135
1140
|
f"{possible_query_params}")
|
@@ -2465,10 +2470,12 @@ r replace_all_properties: bool, default = False
|
|
2465
2470
|
"""
|
2466
2471
|
|
2467
2472
|
body = {"filter": filter}
|
2473
|
+
starts_with_s = str(starts_with).lower()
|
2474
|
+
ends_with_s = str(ends_with).lower()
|
2475
|
+
ignore_case_s = str(ignore_case).lower()
|
2468
2476
|
|
2469
2477
|
possible_query_params = query_string(
|
2470
|
-
[("startFrom", start_from), ("pageSize", page_size), ("startsWith",
|
2471
|
-
("endsWith", str(ends_with).lower()), ("ignoreCase", str(ignore_case).lower()), ])
|
2478
|
+
[("startFrom", start_from), ("pageSize", page_size), ("startsWith",ends_with_s), ("endsWith", ends_with_s), ("ignoreCase", ignore_case_s) ])
|
2472
2479
|
|
2473
2480
|
url = (f"{base_path(self, self.view_server)}/data-fields/by-search-string"
|
2474
2481
|
f"{possible_query_params}")
|
@@ -3526,7 +3533,7 @@ r replace_all_properties: bool, default = False
|
|
3526
3533
|
"""
|
3527
3534
|
|
3528
3535
|
url = (f"{base_path(self, self.view_server)}/data-classes/{parent_data_class_guid}"
|
3529
|
-
f"/
|
3536
|
+
f"/specializeddata-classes/{child_data_class_guid}/attach")
|
3530
3537
|
|
3531
3538
|
if body is None:
|
3532
3539
|
await self._async_make_request("POST", url)
|
@@ -3625,7 +3632,7 @@ r replace_all_properties: bool, default = False
|
|
3625
3632
|
"""
|
3626
3633
|
|
3627
3634
|
url = (f"{base_path(self, self.view_server)}/data-classes/{parent_data_class_guid}"
|
3628
|
-
f"/
|
3635
|
+
f"/specializeddata-classes/{child_data_class_guid}/detach")
|
3629
3636
|
|
3630
3637
|
if body is None:
|
3631
3638
|
await self._async_make_request("POST", url)
|
@@ -4029,9 +4036,13 @@ r replace_all_properties: bool, default = False
|
|
4029
4036
|
|
4030
4037
|
body = {"filter": filter}
|
4031
4038
|
|
4039
|
+
starts_with_s = str(starts_with).lower()
|
4040
|
+
ends_with_s = str(ends_with).lower()
|
4041
|
+
ignore_case_s = str(ignore_case).lower()
|
4042
|
+
|
4032
4043
|
possible_query_params = query_string(
|
4033
|
-
[("startFrom", start_from), ("pageSize", page_size), ("startsWith",
|
4034
|
-
("
|
4044
|
+
[("startFrom", start_from), ("pageSize", page_size), ("startsWith", ends_with_s), ("endsWith", ends_with_s),
|
4045
|
+
("ignoreCase", ignore_case_s)])
|
4035
4046
|
|
4036
4047
|
url = (f"{base_path(self, self.view_server)}/data-classes/by-search-string"
|
4037
4048
|
f"{possible_query_params}")
|
@@ -93,7 +93,7 @@ commands/tech/list_valid_metadata_values.py,sha256=_zgOdq2N6s7GjLd8iEc5xVfplKfOn
|
|
93
93
|
commands/tech/table_tech_templates.py,sha256=jI1c9YKa3KirArMNXeCRKeaiVdwQSN-ztPqkag6jdZs,9500
|
94
94
|
commands/tech/x_list_related_elements.py,sha256=ynaw792VnbMZ9IXBi5mmG7xBfC0kn0esKiFTsjvLGzc,5900
|
95
95
|
pyegeria/README.md,sha256=PwX5OC7-YSZUCIsoyHh1O-WBM2hE84sm3Bd4O353NOk,1464
|
96
|
-
pyegeria/__init__.py,sha256=
|
96
|
+
pyegeria/__init__.py,sha256=NgPs08IQIH25GlvFXjPGDxKB6ln44lAS0EWHg4LJSh4,30874
|
97
97
|
pyegeria/_client.py,sha256=JxKPwpq8Q9ZzgFGRiMu1Z426zSpgEM4TXzZMex-STB0,32023
|
98
98
|
pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8MdpmVCQ,17264
|
99
99
|
pyegeria/_exceptions.py,sha256=1SrnV194V4_YJNnNAU0myTHQ3dhLn4GF2B2gZcj1u90,18153
|
@@ -102,10 +102,10 @@ pyegeria/_validators.py,sha256=vP9nuZwucnCo_LrPU7hkitpWzaych5bTZEKE58TaTnQ,12726
|
|
102
102
|
pyegeria/asset_catalog_omvs.py,sha256=P6FceMP0FgakGSOt3ePxpEbsF7nnypzo1aQahjdL_94,29021
|
103
103
|
pyegeria/automated_curation_omvs.py,sha256=tzwCyXL0Hx8UjryBBWcPoEuBRajXZpLuwPQ1vuOg2yc,130349
|
104
104
|
pyegeria/classification_manager_omvs.py,sha256=n55-62Mby-_5pxPGaz3nkjM9NWlY4PzSl3tP0WSnGJU,187212
|
105
|
-
pyegeria/collection_manager_omvs.py,sha256=
|
105
|
+
pyegeria/collection_manager_omvs.py,sha256=qiD5zsqRUsWlUxuANUACuJ9_p6t3g8j1EirDEjWiWvM,120281
|
106
106
|
pyegeria/core_omag_server_config.py,sha256=pNQpocICkZx8sRsTw5DPUe-TFyxlIo1U88qqgci_f7I,97764
|
107
107
|
pyegeria/create_tech_guid_lists.py,sha256=hf5q8Xrdsz-bqeIW3yTORZ1XB6_BrKzLDWWwC_bNG2g,4811
|
108
|
-
pyegeria/data_designer_omvs.py,sha256=
|
108
|
+
pyegeria/data_designer_omvs.py,sha256=pyPY0TCzIsdOSJd2-FoWcM4ue2HP0r5nqFgKtWqLy0k,186078
|
109
109
|
pyegeria/dr.egeria spec.md,sha256=QC_z3EqJ0WW18NYQFW_AtqO4SMWH5MJNVmM--54VzX4,959
|
110
110
|
pyegeria/egeria_cat_client.py,sha256=d8dQNPLzL4efi99OJfH1T-Rt1N0k9Rf9LX8LpuhiFls,2179
|
111
111
|
pyegeria/egeria_client.py,sha256=egGv41eb94P_lWIQ54I_90WT_IukJ_J6ZLOYCHpx2js,4676
|
@@ -134,8 +134,8 @@ pyegeria/template_manager_omvs.py,sha256=chBljs1vy5wr9DRAtbvIt4Cob_7HxGfxLkCNlDT
|
|
134
134
|
pyegeria/utils.py,sha256=GCt1C0bp0Xng1ahzbZhzV9qQwH7Dj93IaCt2dvWb-sg,5417
|
135
135
|
pyegeria/valid_metadata_omvs.py,sha256=Xq9DqBQvBFFJzaFIRKcVZ2k4gJvSh9yeXs_j-O3vn1w,65050
|
136
136
|
pyegeria/x_action_author_omvs.py,sha256=RcqSzahUKCtvb_3u_wyintAlc9WFkC_2v0E12TZs8lQ,6433
|
137
|
-
pyegeria-5.3.9.
|
138
|
-
pyegeria-5.3.9.
|
139
|
-
pyegeria-5.3.9.
|
140
|
-
pyegeria-5.3.9.
|
141
|
-
pyegeria-5.3.9.
|
137
|
+
pyegeria-5.3.9.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
138
|
+
pyegeria-5.3.9.9.dist-info/METADATA,sha256=4jVXwFNf8OZHpes9Y2RLNWvjqU4FO8Sp08rBdzc2E0s,2757
|
139
|
+
pyegeria-5.3.9.9.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
140
|
+
pyegeria-5.3.9.9.dist-info/entry_points.txt,sha256=t-jdafZ1zTF11pehQeRmmXrnzbaH2zKSiQPu2GfD-Eo,5987
|
141
|
+
pyegeria-5.3.9.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|