pyapacheatlas.core.typedef.ChildEndDef#

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

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

Defaults to cardinality of SINGLE and isContainer=False.

__init__(name, typeName, **kwargs)#

Methods

__init__(name, typeName, **kwargs)

to_json([omit_nulls])

Converts the typedef object to a dict / json.