Closed RomanPerekhrest closed 1 week ago
Which version of aiofiles are you using? You can check with pip list
.
Which version of aiofiles are you using?
it's '0.3.2'
.
Oh that's pretty ancient. The tempfile
thing was added in 0.7. You'll need to upgrade.
Got
AttributeError("module 'aiofiles' has no attribute 'tempfile'")
on line:async with aiofiles.tempfile.TemporaryFile('w') as f:
.Python version:
3.10.12
OS: Ubuntu 22