Files
kittycad.py/kittycad/models/raw_file.py
Jess Frazelle bc3d698539 switch to pydantic
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-11-28 23:50:50 -08:00

11 lines
178 B
Python

from pydantic import BaseModel
class RawFile(BaseModel):
"""A raw file with unencoded contents to be passed over binary websockets."""
contents: bytes
name: str