(obj: object)
| 27 | |
| 28 | |
| 29 | def is_file_content(obj: object) -> TypeGuard[FileContent]: |
| 30 | return ( |
| 31 | isinstance(obj, bytes) or isinstance(obj, tuple) or isinstance(obj, io.IOBase) or isinstance(obj, os.PathLike) |
| 32 | ) |
| 33 | |
| 34 | |
| 35 | def assert_is_file_content(obj: object, *, key: str | None = None) -> None: |
no outgoing calls
no test coverage detected