Open FichteFoll opened 2 months ago
When opening a file with binary file mode, this is not reflected in the .read and .write methods.
Example:
async def _store_file(path: AsyncPath, content: bytes): async with path.open("wb") as fp: s = await fp.read() reveal_type(s) await fp.write(content)
When opening a file with binary file mode, this is not reflected in the .read and .write methods.
Example: