"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from mixpeek.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class AssignmentConfigTypedDict(TypedDict):
    r"""Configuration for how classifications should be assigned to features"""

    enabled: NotRequired[bool]
    r"""Whether to assign the taxonomy to the feature"""
    append: NotRequired[bool]
    r"""Whether to append the classification to the feature, if false, replaces any existing classification"""


class AssignmentConfig(BaseModel):
    r"""Configuration for how classifications should be assigned to features"""

    enabled: Optional[bool] = False
    r"""Whether to assign the taxonomy to the feature"""

    append: Optional[bool] = False
    r"""Whether to append the classification to the feature, if false, replaces any existing classification"""
