pyapacheatlas.core.typedef.ClassificationTypeDef#
- class pyapacheatlas.core.typedef.ClassificationTypeDef(name, entityTypes=[], superTypes=[], **kwargs)#
An implementation of AtlasClassificationDef
- Parameters
name (str) – The name of the type definition.
entityTypes (list(str)) – The list of entityTypes for the classification.
superTypes (list(str)) – The list of superTypes for the classification.
- Kwargs:
- param attributeDefs
The AtlasAttributeDefs that should be available on the Classification.
- type attributeDefs
list(Union(dict,
pyapacheatlas.core.typedef.AtlasAttributeDef
))- param list(str) subTypes
The types that will inherit this classification.
- __init__(name, entityTypes=[], superTypes=[], **kwargs)#
Methods
__init__
(name[, entityTypes, superTypes])addAttributeDef
(*args)Add one or many attribute definitions.
to_json
([omit_nulls])Convert the defintion to a JSON dict.
Attributes
attributeDefs
- return
List of attribute definitions.