# generated by datamodel-codegen:
#   filename:  api/data/createTableProfile.json
#   timestamp: 2022-10-03T15:16:21+00:00

from __future__ import annotations

from typing import List, Optional

from pydantic import BaseModel, Extra, Field

from ...entity.data import table


class CreateTableProfileRequest(BaseModel):
    class Config:
        extra = Extra.forbid

    tableProfile: table.TableProfile = Field(..., description='Table Profile.')
    columnProfile: Optional[List[table.ColumnProfile]] = Field(
        None, description='List of local column profiles of the table.'
    )
