Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

ClientSession.close is a coroutine #226

Open
nugend opened this issue Aug 13, 2018 · 1 comment · May be fixed by #231
Open

ClientSession.close is a coroutine #226

nugend opened this issue Aug 13, 2018 · 1 comment · May be fixed by #231

Comments

@nugend
Copy link

nugend commented Aug 13, 2018

https://github.com/cablehead/python-consul/blob/4ddec9b57eb5284b58967ce1a9b2422519f88cc2/consul/aio.py#L58

  self._session.close()

Getting this error when my process ends.

@ashwini-balnaves
Copy link

ashwini-balnaves commented Aug 21, 2018

I have also encountered this issue. I have opened #231 with my solution.

The tests output from test_aio.py had this warning as well, so I could confirm that my PR resolves the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants