Skip to content

featurebyte.Catalog.get_entity_by_id

get_entity_by_id(
id: ObjectId
) -> Entity

Description

Returns an Entity object by its unique identifier (ID).

Parameters

  • id: ObjectId
    Entity id.

Returns

  • Entity
    Entity object.

Examples

Get a saved entity.

>>> entity = catalog.get_entity_by_id(<Entity_Object_ID>)