pyapacheatlas.core.glossary.glossaryclient.GlossaryClient.upload_term#
- GlossaryClient.upload_term(term, force_update=False, **kwargs)#
Upload a single term to Apache Atlas.
Provide an AtlasGlossaryTerm or dictionary.
Atlas new glossary term: https://atlas.apache.org/api/v2/resource_GlossaryREST.html#resource_GlossaryREST_createGlossaryTerm_POST
Atlas update glossary term: https://atlas.apache.org/api/v2/resource_GlossaryREST.html#resource_GlossaryREST_updateGlossaryTerm_PUT
- Parameters
term (Union(
AtlasGlossaryTerm
, dict)) – The term to be uploaded.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