pyegeria 5.3.8.2__py3-none-any.whl → 5.3.8.4__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.
@@ -531,7 +531,7 @@ class TemplateManager(Client):
531
531
  return
532
532
 
533
533
  async def _async_delete_metadata_element_in_store(
534
- self, element_guid: str, body: dict
534
+ self, element_guid: str, body: dict, cascade:bool = False
535
535
  ) -> None:
536
536
  """Delete a metadata element.
537
537
  Async version.
@@ -542,6 +542,8 @@ class TemplateManager(Client):
542
542
  The identity of the metadata element to update.
543
543
  body : dict
544
544
  The definition of the element to create. A sample is the notes below.
545
+ cascade : bool, optional, defaults to False
546
+ If true, delete all anchored elements as well.
545
547
 
546
548
  Returns
547
549
  -------
@@ -567,11 +569,12 @@ class TemplateManager(Client):
567
569
  }
568
570
 
569
571
  """
570
- url = f"{self.command_root}/metadata-elements/{element_guid}/delete"
572
+ cascade_str = str(cascade).lower()
573
+ url = f"{self.command_root}/metadata-elements/{element_guid}/delete?cascadedDelete={cascade_str}"
571
574
  await self._async_make_request("POST", url, body_slimmer(body))
572
575
  return
573
576
 
574
- def delete_metadata_element_in_store(self, element_guid: str, body: dict) -> None:
577
+ def delete_metadata_element_in_store(self, element_guid: str, body: dict, cascade:bool = False) -> None:
575
578
  """Delete a metadata element.
576
579
 
577
580
  Parameters
@@ -580,6 +583,8 @@ class TemplateManager(Client):
580
583
  The identity of the metadata element to update.
581
584
  body : dict
582
585
  The definition of the element to create. A sample is the notes below.
586
+ cascade : bool, optional, defaults to False
587
+ If true, delete all anchored elements as well.
583
588
 
584
589
  Returns
585
590
  -------
@@ -607,7 +612,7 @@ class TemplateManager(Client):
607
612
  """
608
613
  loop = asyncio.get_event_loop()
609
614
  loop.run_until_complete(
610
- self._async_delete_metadata_element_in_store(element_guid, body)
615
+ self._async_delete_metadata_element_in_store(element_guid, body, cascade)
611
616
  )
612
617
  return
613
618
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyegeria
3
- Version: 5.3.8.2
3
+ Version: 5.3.8.4
4
4
  Summary: A python client for Egeria
5
5
  License: Apache 2.0
6
6
  Keywords: egeria,metadata,governance
@@ -1,6 +1,6 @@
1
1
  pyegeria/README.md,sha256=PwX5OC7-YSZUCIsoyHh1O-WBM2hE84sm3Bd4O353NOk,1464
2
- pyegeria/__init__.py,sha256=_ajfbBLCVW8RnSWYK4tGXLqjHEdnzCW2q815GENuFS0,30383
3
- pyegeria/_client.py,sha256=VluySexJdeP3iaAnm6xsZ8kR7Ff2z5Fn_mHTGN8eLP8,31949
2
+ pyegeria/__init__.py,sha256=bBbo9UZL2e2MdAu7mrKPZ1tDzXojJbw43gkeOcrO3Lg,30609
3
+ pyegeria/_client.py,sha256=lCWq8XJOFg3MnEO4ulMVuCJrW3uU4eWUCcbLEd90_LU,34673
4
4
  pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8MdpmVCQ,17264
5
5
  pyegeria/_exceptions.py,sha256=1SrnV194V4_YJNnNAU0myTHQ3dhLn4GF2B2gZcj1u90,18153
6
6
  pyegeria/_globals.py,sha256=a_irI6oGuBLks2LzQHkSdK6xWbPdJCPRjqxK7PKxwgw,991
@@ -16,27 +16,27 @@ pyegeria/commands/cat/README.md,sha256=-aaAnIT2fcfU63vajgB-RzQk4l4yFdhkyVfSaTPiq
16
16
  pyegeria/commands/cat/__init__.py,sha256=5OCy4m_yZsnSxdy_gvkCyP_OkjvuWKimqUGHYCJc_qA,450
17
17
  pyegeria/commands/cat/dr_egeria_inbox/glossary_creation_experiment.ipynb,sha256=dbzNu90fCKNohOWVSRBOB1GLyd95x8Qw51I5AkaPtso,11552
18
18
  pyegeria/commands/cat/dr_egeria_jupyter.py,sha256=U-3m9BMoCXj2fvuawr3PTc2HQWAXThqQ3sIXjyCWv6s,5912
19
- pyegeria/commands/cat/dr_egeria_md.py,sha256=Fd6k305KQ4Mpfk-ME3XgH7RneGCaIOZ68xelWlCMaF0,10454
19
+ pyegeria/commands/cat/dr_egeria_md.py,sha256=7Sx64F9mlgBzgKLPXYwReKJDHOJAFxNICVQ3Ttb90DQ,12189
20
20
  pyegeria/commands/cat/exp_list_glossaries.py,sha256=dC6Bnfm3YSMTKPP146qeslIFRiZnGu5b7iDYE07p4iU,5817
21
21
  pyegeria/commands/cat/get_asset_graph.py,sha256=xnXJfpDTVH1TJ2TwE3dtjaXU36Di6-N6JAyhothzz2o,12461
22
22
  pyegeria/commands/cat/get_collection.py,sha256=kXPcP8u-SMWfrVyyBhNoxG8mcgB7EV_5i9N9w_IBU7o,5379
23
23
  pyegeria/commands/cat/get_project_dependencies.py,sha256=XwstxuDxDDuP2uN1oJi0PTDZVLbqgcc_3lxh_prBZvY,5987
24
24
  pyegeria/commands/cat/get_project_structure.py,sha256=5uxWMqNve592OT73GRCO2KoBkgLWRNuQv_emWpS-Fw8,5975
25
25
  pyegeria/commands/cat/get_tech_type_elements.py,sha256=IznytHXwDOFriGM6mypV9wuEeM-vT2s66cUzf-IROog,6147
26
- pyegeria/commands/cat/glossary_actions.py,sha256=SO0PH_Zy34Sbv31FEwCnZalNcxjGVeMT3T352BxSY34,19590
26
+ pyegeria/commands/cat/glossary_actions.py,sha256=zK26fNiv-lpWUP8tHC3wTmdQ6L0_XxlmuNGUyrnSclc,19606
27
27
  pyegeria/commands/cat/list_assets.py,sha256=CdJ2coKvvQv2VwJO0Sp9Eg9Fu_uvpC21tgjrdtT9Yz4,6315
28
- pyegeria/commands/cat/list_categories.py,sha256=VYZwQC9vezyGFm5dowD-aVszSKlS2MYo7d1KftdbycU,7595
28
+ pyegeria/commands/cat/list_categories.py,sha256=3IhRSpklyhcR5NZ7qkrxVavgd5nGJawy4fo_4-m1UZs,7896
29
29
  pyegeria/commands/cat/list_cert_types.py,sha256=HmrTks0SSYgSMsYz3LqfX5kwDQ6D9KMcynoR_xlWtnE,7137
30
30
  pyegeria/commands/cat/list_collections.py,sha256=kCxl5OuBAGtctHNVmttOe4aJ6r37cGdCFnK1i7A90ls,5996
31
31
  pyegeria/commands/cat/list_deployed_catalogs.py,sha256=VdN6R9kRVWX-fGIgubOigvMVPzhF-hKQepHHlS-w-D8,8258
32
32
  pyegeria/commands/cat/list_deployed_database_schemas.py,sha256=1Qicke1R2_7Xi3Qf5sp8KJ3_reAIt0z1iaz2sG8Z0Qs,9458
33
33
  pyegeria/commands/cat/list_deployed_databases.py,sha256=ryrBW1CxJRfOeLP978qQwxb5oImqhIsHghtcpWeBIrw,7587
34
34
  pyegeria/commands/cat/list_deployed_servers.py,sha256=_xR7EaaCsxIjTphxmoCZlARoja_vQqZ881pFiEuhw-8,5719
35
- pyegeria/commands/cat/list_glossaries.py,sha256=jlhe840GxadFVM2qIcVm7-YwZ-8EBN-aCqDGIXlsdBw,7296
35
+ pyegeria/commands/cat/list_glossaries.py,sha256=D2ovkffSmnO-NQ7y-Jw0aDBtK2j06CQzMoILKRh9LiU,7726
36
36
  pyegeria/commands/cat/list_projects.py,sha256=NzWTuepTGUEyxK-eWvuUxtBgCtNWubVwmz2eqm2UN1c,7997
37
37
  pyegeria/commands/cat/list_tech_type_elements.py,sha256=-9omj5en9dSP1xMSljYVHyfXsuhuE1bO2IFj_bZPhAs,6873
38
38
  pyegeria/commands/cat/list_tech_types.py,sha256=uqZcXHCzAznhEG6WWeM5j-spwUh8ycygFqpVDeXOG-0,4653
39
- pyegeria/commands/cat/list_terms.py,sha256=GwhbQeesYMCXOx3o4Hsom21wtC2nzmbpjhpwRLZ7iVE,12177
39
+ pyegeria/commands/cat/list_terms.py,sha256=BLz98FXUl2FUDhSw5G44jETtxAAP_p0AIpd0-yO7a0w,12164
40
40
  pyegeria/commands/cat/list_todos.py,sha256=NitCw0uyVVjmN1hxb1W-I4FbOsa8wQxW2ICyOElHyc8,6556
41
41
  pyegeria/commands/cat/list_user_ids.py,sha256=X5Q-YNEp38saPYDuy9VwdQC5Qpa4HyC3WvAdbyp_P6M,5108
42
42
  pyegeria/commands/cli/__init__.py,sha256=hpTVSMP2gnPRhcAZPdeUEsQ-eaDySlXlk239dNWYmng,292
@@ -218,6 +218,7 @@ pyegeria/commands/tech/x_list_related_elements.py,sha256=ynaw792VnbMZ9IXBi5mmG7x
218
218
  pyegeria/core_omag_server_config.py,sha256=pNQpocICkZx8sRsTw5DPUe-TFyxlIo1U88qqgci_f7I,97764
219
219
  pyegeria/create_tech_guid_lists.py,sha256=hf5q8Xrdsz-bqeIW3yTORZ1XB6_BrKzLDWWwC_bNG2g,4811
220
220
  pyegeria/dr.egeria spec.md,sha256=QC_z3EqJ0WW18NYQFW_AtqO4SMWH5MJNVmM--54VzX4,959
221
+ pyegeria/dr_egeria_state.py,sha256=LmoKqGBgDBbMaYvQAP6r-vtg1_Fw4RlegKBhJiDrclU,1987
221
222
  pyegeria/egeria_cat_client.py,sha256=d8dQNPLzL4efi99OJfH1T-Rt1N0k9Rf9LX8LpuhiFls,2179
222
223
  pyegeria/egeria_client.py,sha256=UjvwDkTO3iYaPEGuPZJTiK_k_i4ZuVeB8QMTVNUHwxg,4490
223
224
  pyegeria/egeria_config_client.py,sha256=3TZUeXSl1f7SQ2WWYTbgOu1Cu1YqApilErAgjZLzbWY,1391
@@ -225,28 +226,27 @@ pyegeria/egeria_my_client.py,sha256=eOKLk2zdI6FHZnhAimfR_0yNdBjpUgD41dJZcJODcqE,
225
226
  pyegeria/egeria_tech_client.py,sha256=uycgYfCpb4jzFfaQ7I5JxbZ5PKsWdaWxLOJjbw6C2Zk,3817
226
227
  pyegeria/feedback_manager_omvs.py,sha256=0xBs0p54vmdfVYYgQ8pOanLC4fxfgTk1Z61Y6D1U7_I,152978
227
228
  pyegeria/full_omag_server_config.py,sha256=CQqLCy_3DZFvJZEOcGf50HWdFaWpiAIs6z-kKyjvpDA,47464
228
- pyegeria/glossary_browser_omvs.py,sha256=hOQJ1ipVfzAqS7UvHCJtKhG5MfpYNJfWk5zk_yKIgt4,109698
229
- pyegeria/glossary_manager_omvs.py,sha256=JMgvbockir-D1Y9pKKlPg4a9qlRwWAS_7B9wBMcCPnA,66820
229
+ pyegeria/glossary_browser_omvs.py,sha256=pJxgexKpzWDwuAlehEJEXCCauymotUW3dNC7m6e6n28,149254
230
+ pyegeria/glossary_manager_omvs.py,sha256=QojY-B0UMWzLoAzzLwPTScKhTQnYLdc4c9wkZljvokM,72206
230
231
  pyegeria/m_test.py,sha256=M5-M2ZczsAJLXWfSeqTTADHdx6Ku-y4PbQ4M21JthAE,7778
231
232
  pyegeria/md_processing_helpers.py,sha256=sV-ciVg_xOGVGTH_CMpH2B5k3V5jzdFp_XvnQQ5xafw,2131
232
- pyegeria/md_processing_utils.py,sha256=lxul-3ryNv3xx86j6ov84eEbgO43KndDr6Sl4CV2QxY,68441
233
+ pyegeria/md_processing_utils.py,sha256=ekExZifDL6sKda81QaiP-RyWwk1yKRRQqwV8o7zv3vk,84207
233
234
  pyegeria/md_processing_utils_orig.py,sha256=WGoVpsV03wwgv9YwDDHZ0EO4-opN8BdoISt4ZhkYGuQ,52492
234
235
  pyegeria/mermaid_utilities.py,sha256=sQqdFUWdNpHu9d3Tk9UVe80M-5bOzses0XcFYX5FF-E,54254
235
236
  pyegeria/metadata_explorer_omvs.py,sha256=xHnZTQKbd6XwOhYia-RiIisrvZcqHi0SL1l6OCf04Gk,86911
236
237
  pyegeria/my_profile_omvs.py,sha256=d0oJYCJG7pS9BINPuGciVa00ac0jwPHNANXDCLginEc,34720
237
238
  pyegeria/platform_services.py,sha256=YEpZsGGsbSdesN8ceyFhV0OMzKG6znTZrREMTRimLps,41701
238
- pyegeria/project_manager_omvs.py,sha256=4_uT0oW8CvV1j4gi_zafhxc1i5-T7eYjeWklo8EalI8,70198
239
+ pyegeria/project_manager_omvs.py,sha256=612rYbu2eLR8Sgv9nBzjkFJ2PuxIBd_b-zwcnpVbXhc,70665
239
240
  pyegeria/registered_info.py,sha256=y0-LgDIQXpph0lEWxIOG3_HsqX_Z2iAIb3xu4Aa4B70,6344
240
241
  pyegeria/runtime_manager_omvs.py,sha256=Z5wY9ignNjil8O6yjihZftxkGoh9A4PQDcXhoIsOIT8,79698
241
242
  pyegeria/server_operations.py,sha256=5k0KVz3u8qRLwtz16zT3J86LZY3pkUrMDcps8srmq1A,16831
242
- pyegeria/shared_state.py,sha256=LmoKqGBgDBbMaYvQAP6r-vtg1_Fw4RlegKBhJiDrclU,1987
243
- pyegeria/solution_architect_omvs.py,sha256=x6CfPTyn1l2DFYVEFP0t_rT9uVjoFr596hBBeuVaMRg,22093
244
- pyegeria/template_manager_omvs.py,sha256=PfJ9dOfmBvf59DgRdZ9Dl1Kl_UYqjF-JncXVnbCqLZU,42408
243
+ pyegeria/solution_architect_omvs.py,sha256=-PrmNGOVbiIniud328PQ3VY6GF9OPxC9OV8hlLhZZmk,87384
244
+ pyegeria/template_manager_omvs.py,sha256=chBljs1vy5wr9DRAtbvIt4Cob_7HxGfxLkCNlDTM-rQ,42755
245
245
  pyegeria/utils.py,sha256=GCt1C0bp0Xng1ahzbZhzV9qQwH7Dj93IaCt2dvWb-sg,5417
246
246
  pyegeria/valid_metadata_omvs.py,sha256=Xq9DqBQvBFFJzaFIRKcVZ2k4gJvSh9yeXs_j-O3vn1w,65050
247
247
  pyegeria/x_action_author_omvs.py,sha256=RcqSzahUKCtvb_3u_wyintAlc9WFkC_2v0E12TZs8lQ,6433
248
- pyegeria-5.3.8.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
249
- pyegeria-5.3.8.2.dist-info/METADATA,sha256=WqXNrVeFnKJPkc9WwF3R_MT4b_tfQKwHKgmYTwFI8XE,2740
250
- pyegeria-5.3.8.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
251
- pyegeria-5.3.8.2.dist-info/entry_points.txt,sha256=eAvQ_vkejlF3JzMzEc5VD93ymLA_hSFV0HM8fntG-d8,6791
252
- pyegeria-5.3.8.2.dist-info/RECORD,,
248
+ pyegeria-5.3.8.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
249
+ pyegeria-5.3.8.4.dist-info/METADATA,sha256=ZjC3tDGbg9GSkaLEPeGLgM8Up-AX3X5mkbz11FbDPXY,2740
250
+ pyegeria-5.3.8.4.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
251
+ pyegeria-5.3.8.4.dist-info/entry_points.txt,sha256=eAvQ_vkejlF3JzMzEc5VD93ymLA_hSFV0HM8fntG-d8,6791
252
+ pyegeria-5.3.8.4.dist-info/RECORD,,
File without changes