(file: FileContent)
| 117 | |
| 118 | |
| 119 | async def async_read_file_content(file: FileContent) -> HttpxFileContent: |
| 120 | if isinstance(file, os.PathLike): |
| 121 | return await anyio.Path(file).read_bytes() |
| 122 | |
| 123 | return file |
no outgoing calls
no test coverage detected