You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The synchronous equivalent from the standard library accepts a few keyword arguments to control the name and location of the created directory. However, aiofiles.tempfile.TemporaryDirectory does not accept the same keyword arguments.
...
async with aiofiles.tempfile.TemporaryDirectory(dir=working_dir) as temp_dir_str:
TypeError: TemporaryDirectory() got an unexpected keyword argument 'dir'
Tested using aiofiles version 0.7.0.
The text was updated successfully, but these errors were encountered:
The synchronous equivalent from the standard library accepts a few keyword arguments to control the name and location of the created directory. However,
aiofiles.tempfile.TemporaryDirectory
does not accept the same keyword arguments.Tested using aiofiles version 0.7.0.
The text was updated successfully, but these errors were encountered: