Skip to content

Using webexbot in an existing FastAPI/uvicorn app #68

@nethi

Description

@nethi
  • Webex Bot version:
  • Python version:
  • Operating System:

Description

Current webex bot doesn't seem to work with running in an existing FastAPI application (via uvicorn) because of its current usage of asyncio.get_event_loop(), resulting in an error that an event loop is already in progress. Are there any recommended approaches to use this library in the above scenario ?

What I Did

In the mean time, I am able to get it to work with lot of custom patching - I will try to rework to see if I can get a PR going.

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions