Skip to content

FeatureValue

Source code in docs_src/capo_sagemaker_featurestore_runtime/types/feature_value.py
class FeatureValue(TypedDict, closed=True):
    feature_name: NotRequired[
        "capo_sagemaker_featurestore_runtime.types.feature_name.FeatureName"
    ]
    """<p>The name of a feature that a feature value corresponds to.</p>"""
    value_as_string: NotRequired[
        "capo_sagemaker_featurestore_runtime.types.value_as_string.ValueAsString"
    ]
    """<p>The value in string format associated with a feature. Used when your <code>CollectionType</code> is <code>None</code>. Note that features types can be <code>String</code>, <code>Integral</code>, or <code>Fractional</code>. This value represents all three types as a string.</p>"""
    value_as_string_list: NotRequired[
        "capo_sagemaker_featurestore_runtime.types.value_as_string_list.ValueAsStringList"
    ]
    """<p>The list of values in string format associated with a feature. Used when your <code>CollectionType</code> is a <code>List</code>, <code>Set</code>, or <code>Vector</code>. Note that features types can be <code>String</code>, <code>Integral</code>, or <code>Fractional</code>. These values represents all three types as a string.</p>"""

feature_name instance-attribute

feature_name: NotRequired[FeatureName]

The name of a feature that a feature value corresponds to.

value_as_string instance-attribute

value_as_string: NotRequired[ValueAsString]

The value in string format associated with a feature. Used when your CollectionType is None. Note that features types can be String, Integral, or Fractional. This value represents all three types as a string.

value_as_string_list instance-attribute

value_as_string_list: NotRequired[ValueAsStringList]

The list of values in string format associated with a feature. Used when your CollectionType is a List, Set, or Vector. Note that features types can be String, Integral, or Fractional. These values represents all three types as a string.