pyapacheatlas.core.typedef.AtlasStructDef#

class pyapacheatlas.core.typedef.AtlasStructDef(name, category, **kwargs)#

An implemention of AtlasStructDef. Not expected to be used by the end users.

Parameters
  • name (str) – The name of the type definition.

  • category (TypeCategory) – The category of the typedef.

Kwargs:
param attributeDefs

The AtlasAttributeDefs that should be available on the struct.

type attributeDefs

list(Union(dict, pyapacheatlas.core.typedef.AtlasAttributeDef))

__init__(name, category, **kwargs)#

Methods

__init__(name, category, **kwargs)

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.