Skip to content

featurebyte.FeatureList.update_default_version_mode

update_default_version_mode(
default_version_mode: Literal["AUTO", "MANUAL"]
)

Description

Sets the default version mode of a feature list. By default, the feature list's default version mode is automatic, selecting the version with the highest percentage of production ready features. If several versions share the same readiness level, the most recent one becomes the default.

If the default version mode is set as manual, you can choose to manually set any version as the default version for the feature list.

Parameters

  • default_version_mode: Literal["AUTO", "MANUAL"]
    Feature list default version mode

Examples

>>> feature_list = catalog.get_feature_list_by_id(<FeatureList_Object_ID>)
>>> feature_list.update_default_version_mode(DefaultVersionMode.MANUAL)

See Also