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

Using context managers #120

Open
lc-thomas opened this issue Apr 11, 2018 · 1 comment
Open

Using context managers #120

lc-thomas opened this issue Apr 11, 2018 · 1 comment

Comments

@lc-thomas
Copy link

Contexts managers don't work :

async with asyncio_redis.Connection.create('....') as redis_connection:

Returns :
AttributeError: aexit

Please implement aexit (where you basically close the connection to redis.

Thank you

@jonathanslenders
Copy link
Owner

I think this is a very nice thing to have and should be done.

Personally I don't have the time for this right now unfortunately. See: #134

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

2 participants