pyapacheatlas.core.typedef.ParentEndDef#

class pyapacheatlas.core.typedef.ParentEndDef(name, typeName, **kwargs)#

A helper for creating a Parent end def (e.g. EndDef1 that is a container). The goal being to simplify and reduce the margin of error when creating containing relationships. This should be used in EndDef1 when the relationshipCategory is COMPOSITION or AGGREGATION.

Defaults to cardinality of SET and isContainer=True.

__init__(name, typeName, **kwargs)#

Methods

__init__(name, typeName, **kwargs)

to_json([omit_nulls])

Converts the typedef object to a dict / json.