Files
kittycad.py/kittycad/models/import_file.py
Jess Frazelle 8d476bbec6 pydantic cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2024-01-06 18:32:34 -08:00

14 lines
323 B
Python

from pydantic import BaseModel, ConfigDict
class ImportFile(BaseModel):
"""File to import into the current model If you are sending binary data for a file, be sure to send the WebSocketRequest as binary/bson, not text/json."""
data: bytes
path: str
model_config = ConfigDict(protected_namespaces=())