Hi, I'm using Zyte API for my Django project, but when I use Zyte, I get There is no current event loop in thread 'xxx' error.
My code:
from zyte_api import ZyteAPI
def omnifollow_product_extract(product_url):
zyte_api_key = os.environ.get("ZYTE_API_KEY", "")
client = ZyteAPI(api_key=zyte_api_key)