Skip to content

Library can not be used in an existing asyncio event loop #37

@akshualy

Description

@akshualy

In the current implementation I receive a RuntimeError: asyncio.run() cannot be called from a running event loop because of the _async_helper in client.py.

It would be nice to have an alternative version where the existing async context is used, maybe by providing public async methods.

My current workaround was to reimplement the existing methods, so there is no urgency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions