Skip to content

featurebyte.Catalog.get_feature_by_id

get_feature_by_id(
id: ObjectId
) -> Feature

Description

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

Parameters

  • id: ObjectId
    Feature id.

Returns

  • Feature
    Feature object.

Examples

Get a saved feature.

>>> feature = catalog.get_feature_by_id(<Feature_Object_Id>)