Files
kittycad.py/kittycad/models/raw_file.py

12 lines
258 B
Python
Raw Normal View History

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