pyegeria 5.2.0.42.7__py3-none-any.whl → 5.2.0.42.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.
@@ -1845,7 +1845,12 @@ class GlossaryManager(GlossaryBrowser):
1845
1845
  count += 1
1846
1846
  return count
1847
1847
 
1848
- def export_glossary_to_csv(self, glossary_guid: str, target_file: str) -> int:
1848
+ def export_glossary_to_csv(
1849
+ self,
1850
+ glossary_guid: str,
1851
+ target_file: str,
1852
+ file_path: str = os.environ.get("EGERIA_GLOSSARY_PATH", None),
1853
+ ) -> int:
1849
1854
  """Export all the terms in a glossary to a CSV file.
1850
1855
 
1851
1856
  Parameters:
@@ -1854,6 +1859,9 @@ class GlossaryManager(GlossaryBrowser):
1854
1859
  Identity of the glossary to export.
1855
1860
  target_file: str
1856
1861
  Complete file name with path and extension to export to.
1862
+ file_path: str, default is EGERIA_GLOSSARY_PATH if specified or None
1863
+ If EGERIA_GLOSSARY_PATH environment variable is set, then it will be used in forming the
1864
+ prepended to the filename parameter to form the full path to the file.
1857
1865
 
1858
1866
  Returns:
1859
1867
  int: Number of rows exported.
@@ -1861,7 +1869,7 @@ class GlossaryManager(GlossaryBrowser):
1861
1869
 
1862
1870
  loop = asyncio.get_event_loop()
1863
1871
  response = loop.run_until_complete(
1864
- self._async_export_glossary_to_csv(glossary_guid, target_file)
1872
+ self._async_export_glossary_to_csv(glossary_guid, target_file, file_path)
1865
1873
  )
1866
1874
 
1867
1875
  return response
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 5.2.0.42.7
3
+ Version: 5.2.0.42.8
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -212,7 +212,7 @@ pyegeria/egeria_tech_client.py,sha256=KMxo7Er6DNjXWPG_CVpWbNTOSJYhUSG4Vu_2GaFgG0
212
212
  pyegeria/feedback_manager_omvs.py,sha256=B66e3ZCaC_dirb0mcb2Nz3PYh2ZKsoMAYNOb3euNiro,152931
213
213
  pyegeria/full_omag_server_config.py,sha256=k3fUfopAFAE3OKkFR7zZPiki_FYj6j2xQ4oD2SVaefQ,47350
214
214
  pyegeria/glossary_browser_omvs.py,sha256=NcitYaZJqwVODBO5zBtWpXPNUJJ3DKzEbRaOFSAyUlg,93554
215
- pyegeria/glossary_manager_omvs.py,sha256=_oAY8AmEOGY8L-xIRv6WolLwsQ2Zu3hjZIJl0h6irho,132062
215
+ pyegeria/glossary_manager_omvs.py,sha256=tBjoHrrHJLasXoeQSpW-KpF3vEQdN_GR3jfcceTjt_c,132444
216
216
  pyegeria/mermaid_utilities.py,sha256=GXiS-subb5nJcDqlThZWX2T8WspU1neFfhf4TxRoMh4,8344
217
217
  pyegeria/metadata_explorer_omvs.py,sha256=WwkFvAnDzJTw8dPos7j3wCG6gpQ0BjcMmYXl-ckjn28,88723
218
218
  pyegeria/my_profile_omvs.py,sha256=DyECbUFEcgokrIbzdMMNljC3bqfqKGXAF2wZEpzvRYs,34666
@@ -225,8 +225,8 @@ pyegeria/template_manager_omvs.py,sha256=Sw5xsQAhy7a48xFCg59mg9_nqyhawoS9v4WyF-P
225
225
  pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
226
226
  pyegeria/valid_metadata_omvs.py,sha256=kmcyXBsu99L25r16w9xVXqU_KwADsGuft4yPDZzyUds,65032
227
227
  pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
228
- pyegeria-5.2.0.42.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
229
- pyegeria-5.2.0.42.7.dist-info/METADATA,sha256=m4OVHsf4slKGFivxjlyzIGKcrVXzjLMMa__v28uUmmY,2882
230
- pyegeria-5.2.0.42.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
231
- pyegeria-5.2.0.42.7.dist-info/entry_points.txt,sha256=JK212otpaYZogRHHwMrHy3fQUpAsg_DC3LkRUl59V2s,5373
232
- pyegeria-5.2.0.42.7.dist-info/RECORD,,
228
+ pyegeria-5.2.0.42.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
229
+ pyegeria-5.2.0.42.8.dist-info/METADATA,sha256=HcsgObM_viRg1bataBx8TfKla5ZfW5SIVYQj2MM3czc,2882
230
+ pyegeria-5.2.0.42.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
231
+ pyegeria-5.2.0.42.8.dist-info/entry_points.txt,sha256=JK212otpaYZogRHHwMrHy3fQUpAsg_DC3LkRUl59V2s,5373
232
+ pyegeria-5.2.0.42.8.dist-info/RECORD,,