(original) (raw)

Hi Python-Dev Group,

I am trying to implement \_\_aenter\_\_ and \_\_aexit\_\_ for the RethinkDB Python driver. Looking at the PEP I don't see any definitions as to what the expected parameters that \_\_exit\_\_ are supposed to take and couldn't find any other similar implementations. Is there a piece of documentation I should be looking at that I'm missing?

https://www.python.org/dev/peps/pep-0492/#asynchronous-context-managers-and-async-with

Many thanks,

Daniel