pyapacheatlas.core.glossary.glossaryclient.PurviewGlossaryClient.export_terms#

PurviewGlossaryClient.export_terms(guids, csv_path, glossary_name='Glossary', glossary_guid=None)#

Export specific terms as provided by guid. Due to the design of Purview, you may not export terms with different term templates. Instead, you should batch exports based on the term template.

This method writes the csv file to the provided path.

Parameters
  • guids (list(str)) – List of guids that should be exported as csv.

  • csv_path (str) – Path to CSV that will be imported.

  • glossary_name (str) – Name of the glossary. Defaults to ‘Glossary’. Not used if glossary_guid is provided.

  • glossary_guid (str) – Guid of the glossary, optional if glossary_name is provided. Otherwise, this parameter takes priority over glossary_name. Providing glossary_guid is also faster as you avoid a lookup based on glossary_name.

Returns

A csv file is written to the csv_path.

Return type

None