featurebyte.Feature.as_default_version¶
Description¶
When a feature has its default version mode set to manual, this method designates the Feature object as the default version for that specific feature.
Each feature is recognized by its name and can possess numerous versions, though only a single default version is allowed.
The default version streamlines feature reuse by supplying the most suitable version when none is explicitly indicated. By default, the feature's default version mode is automatic, selecting the version with the highest readiness level as the default. If several versions share the same readiness level, the most recent one becomes the default.