Source code for kittycad.models.raw_file
from pydantic import BaseModel
[docs]class RawFile(BaseModel):
"""A raw file with unencoded contents to be passed over binary websockets."""
contents: bytes
name: str
from pydantic import BaseModel
[docs]class RawFile(BaseModel):
"""A raw file with unencoded contents to be passed over binary websockets."""
contents: bytes
name: str