AttributeError: module 'asyncio' has no attribute 'create_task'
Closed this issue · 0 comments
JavuMan commented
The create_task top-level function was added in Python 3.7, if you use python 3.6 you should have a issue. "creat_task" was only available as a method (in 3.6) so you can invoke it like:
dirrec.py
83 tasks.append(asyncio.get_event_loop().create_task(wm_fetch(f_url, session)))
84 #tasks.append(asyncio.create_task(wm_fetch(f_url, session)))
Fully functional for python 3.6 and 3.7.