Files
kittycad.py/kittycad/models/raw_file.py
Jess Frazelle 6e170684d5 bump
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-12-21 08:14:08 -08:00

12 lines
258 B
Python

from pydantic import BaseModel
class RawFile(BaseModel):
"""A raw file with unencoded contents to be passed over binary websockets. When raw files come back for exports it is sent as binary/bson, not text/json."""
contents: bytes
name: str