ServedEntity

class databricks.ml_features.entities.feature_serving_endpoint.ServedEntity(*, feature_spec_name: str, name: str = '', workload_size: str = 'Small', scale_to_zero_enabled: bool = True, instance_profile_arn: str = None)

Bases: databricks.ml_features_common.entities._feature_store_object._FeatureStoreObject

Note

Aliases: databricks.feature_engineering.entities.feature_serving_endpoint.ServedEntity, databricks.feature_store.entities.feature_serving_endpoint.ServedEntity

__init__(*, feature_spec_name: str, name: str = '', workload_size: str = 'Small', scale_to_zero_enabled: bool = True, instance_profile_arn: str = None)

A ServedEntity represents a FeatureSpec to be served and related configurations. :param feature_spec_name: The name of a FeatureSpec in UC. :param workload_size: Allowed values are Small, Medium, Large. :param scale_to_zero_enabled: If enabled, the cluster size will scale to 0 when there is no traffic for certain amount of time. :param instance_profile_arn: The ARN of the IAM instance profile to use for the cluster.