Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError("'AIOHTTPSession' object has no attribute 'close'") #35

Open
tomharvey opened this issue Oct 8, 2021 · 0 comments
Open

Comments

@tomharvey
Copy link

tomharvey commented Oct 8, 2021

This is being raised when I close my loop and is coming from:

and then I also get

'client_session': <aiohttp.client.ClientSession object at 0x154fd0940>, 'message': 'Unclosed client session'

hmmm ... shrodinger's close!

I can create this by calling

async with Producer(stream_name, processor=processor) as producer:

on a stream_name that doesn't exist.

I have:

aiobotocore==1.4.1
aiohttp==3.7.4.post0
async-kinesis==1.1.5

amongst many many other packages, but those seemed the relevant ones.

But, I suspect that this is a package version thing?

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

No branches or pull requests

1 participant