Skip to content

There is no current event loop in thread 'Thread-1' #77

@autn

Description

@autn

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions