Return a new |Video| object loaded from image binary in *blob*.
(cls, blob: bytes, mime_type: str | None, filename: str | None = None)
| 22 | |
| 23 | @classmethod |
| 24 | def from_blob(cls, blob: bytes, mime_type: str | None, filename: str | None = None): |
| 25 | """Return a new |Video| object loaded from image binary in *blob*.""" |
| 26 | return cls(blob, mime_type, filename) |
| 27 | |
| 28 | @classmethod |
| 29 | def from_path_or_file_like(cls, movie_file: str | IO[bytes], mime_type: str | None) -> Video: |
no outgoing calls