Skip to content

featurebyte.Catalog.get_relationship_by_id

get_relationship_by_id(
id: ObjectId
) -> Relationship

Description

Returns a Relationship object by its unique identifier (ID).

Parameters

  • id: ObjectId
    Relationship object unique identifier ID.

Returns

  • Relationship
    Relationship object.

Examples

Get a saved relationship.

>>> relationship = catalog.get_relationship_by_id(<Relationship_Object_ID>)