pyapacheatlas.core.entity.AtlasEntity.addRelationship#

AtlasEntity.addRelationship(**kwargs)#

Add one or many relationshipAttributes to the entity. This will also update an existing relationship attribute. You can pass in a parameter name and then either an Atlas Entity, a dict representing an AtlasEntity, or a list containing dicts of AtlasEntity pointers. For example, you might pass in addRelationship(table=AtlasEntity(…)) or addRelationship(column=[{‘guid’:’abc-123-def}])`.

Kwargs:
param kwarg

The name of the relationship attribute you’re adding.

type kwarg

Union(dict, pyapacheatlas.core.entity.AtlasEntity)