(self)
| 10620 | self.media_marker = media_marker.decode("utf-8") |
| 10621 | |
| 10622 | def close(self) -> None: |
| 10623 | if self.ctx is not None: |
| 10624 | mtmd_cpp.mtmd_free(self.ctx) |
| 10625 | self.ctx = None |
| 10626 | |
| 10627 | def _max_bytes_for_media(self, kind: Literal["image", "audio", "video"]) -> int: |
| 10628 | if kind == "image": |