featurebyte.FeatureList.update_status¶
Description¶
A FeatureList can have one of five statuses: "DEPLOYED": Assigned to FeatureLists with at least one active version online. "TEMPLATE": For FeatureLists serving as reference templates or safe starting points. "PUBLIC DRAFT": For FeatureLists shared for feedback purposes. "DRAFT": For FeatureLists in the prototype stage. "DEPRECATED": For outdated or unneeded FeatureLists.
Automatic status changes: - New FeatureLists are assigned the "DRAFT" status. - The "DEPLOYED" status is applied when at least one version is deployed. - If deployment is disabled for all versions, the FeatureList becomes a "PUBLIC_DRAFT".
Additional guidelines: - Before making a FeatureList a "TEMPLATE", add a description and ensure all features are "production ready". - Only "DRAFT" FeatureLists can be deleted; - A FeatureList cannot be reverted to a "DRAFT" status.
Parameters¶
- status: Union[FeatureListStatus, str]
Desired feature list status.