This repository was archived by the owner on Mar 20, 2023. It is now read-only.
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
ERROR: Creating a client session outside of coroutine #10
Closed
Description
I'm using elasticsearch-py-async in a web application. The client gets instantiated during startup and is shared across requests. The whole startup process is synchronous, hence, there is no loop involved. As a result I get an "ERROR: Creating a client session outside of coroutine".
My understanding is, that during the creation of the client no connection / session should be opened. How am I supposed to do this correctly?
Metadata
Metadata
Assignees
Labels
No labels