I can easily reproduce this issue with this example:
from threading import Thread
import asyncio
def func():
asyncio.get_event_loop()
Thread(target=func).start()
According to document:
If there is no current event loop set in the current OS thread, the OS thread is main, and set_event_loop() has not yet been called, asyncio will create a new event loop and set it as the current one.