got Future attached to a different loop : error while running code
I am trying to build a service which runs on a flask server that creates a schedule and runs it continuously to poll data and check results. I’m using apscheduler and AsyncIOS for this. The issue is that I believe my code is creating 2 event loops? which is why I’m continuously getting this error : cb=[gather.._done_callback() at /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/tasks.py:764]> got Future attached to a different loop