pyapacheatlas.core.glossary.glossaryclient.PurviewGlossaryClient.upload_term#

PurviewGlossaryClient.upload_term(term, includeTermHierarchy=True, force_update=False, **kwargs)#

Upload a single term to Azure Purview. If you plan on uploading many terms programmatically, you might look at PurviewClient.glossary.upload_terms or PurviewClient.glossary.import_terms.

Provide a PurviewGlossaryTerm or dictionary.

Purview new glossary term: https://learn.microsoft.com/en-us/rest/api/purview/catalogdataplane/glossary/create-glossary-term?tabs=HTTP

Purview update glossary term: https://learn.microsoft.com/en-us/rest/api/purview/catalogdataplane/glossary/update-glossary-term?tabs=HTTP

Parameters
  • term (Union(PurviewGlossaryTerm, dict)) – The term to be uploaded.

  • includeTermHierarchy (bool) – Must be True if you are using hierarchy or term templates.

  • force_update (bool) – When set to true, performs a complete update of the term.

  • termGuid (str) – Required if using force_update.

Kwargs:
param dict parameters

The parameters to pass into the url.

Returns

The uploaded term’s current state.

Return type

dict