Skip to content
This repository was archived by the owner on Nov 7, 2021. It is now read-only.
This repository was archived by the owner on Nov 7, 2021. It is now read-only.

When program terminate, asyncio:Unclosed client session #129

@zpoint

Description

@zpoint

Just instantiate Elasticsearch

es = Elasticsearch(["localhost:8000"])

When terminate:

Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7f64807de208>

Should aioes->connection.py->class Connection has a destructor ?

`

   def __del__(self):
          self._session.close()

`

aiohttp (2.0.4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions