Skip to content

featurebyte.Relationship.disable

disable( )

Description

Disables a Relationship object. A Relationship object of parent-child is automatically created when the primary key (or natural key in the context of a SCD table) identifies one entity. This entity is the child entity. Other entities that are referenced in the table are identified as the parent entities.

Examples

Disable a relationship

>>> import featurebyte as fb
>>> relationship = fb.Relationship.get_by_id(<relationship_id>)
>>> relationship.disable()