2023-08-17 12:48:13 -07:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
from pydantic import BaseModel
|
2023-08-17 12:48:13 -07:00
|
|
|
|
|
|
|
|
2023-11-29 00:39:14 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
class RawFile(BaseModel):
|
|
|
|
"""A raw file with unencoded contents to be passed over binary websockets."""
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
contents: bytes
|
2023-08-17 12:48:13 -07:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
name: str
|