(file: FileContent)
| 119 | |
| 120 | |
| 121 | async def async_read_file_content(file: FileContent) -> HttpxFileContent: |
| 122 | if isinstance(file, os.PathLike): |
| 123 | return await anyio.Path(file).read_bytes() |
| 124 | |
| 125 | return file |
| 126 | |
| 127 | |
| 128 | def deepcopy_with_paths(item: _T, paths: Sequence[Sequence[str]]) -> _T: |
no outgoing calls
no test coverage detected