pyapacheatlas.core.glossary.glossaryclient.PurviewGlossaryClient.get_term#
- PurviewGlossaryClient.get_term(guid=None, name=None, glossary_name='Glossary', glossary_guid=None)#
Retrieve a single glossary term based on its guid. Providing only the glossary_name will result in a lookup for the glossary guid. If you plan on looking up many terms, consider using the get_glossary method with the detailed argument set to True. That method will provide all glossary terms in a dictionary for faster lookup.
- Parameters
guid (str) – The guid of your term. Not required if name is specified.
name (str) – The name of your term’s display text. Overruled if guid is provided.
glossary_name (str) – The name of the glossary to use, defaults to “Glossary”. Not required if using the glossary_guid parameter.
glossary_guid (str) – The unique guid of your glossary. Not required if using the glossary_name parameter.
- Returns
The requested glossary term as a dict.
- Return type
dict