Skip to content

featurebyte.Catalog.get_target_by_id

get_target_by_id(
id: ObjectId
) -> Target

Description

Get target by id.

Parameters

  • id: ObjectId
    Target id.

Returns

  • Target
    Target object.

Examples

Get a saved target .

>>> target = catalog.get_target_by_id(ObjectId())