openreview-py icon indicating copy to clipboard operation
openreview-py copied to clipboard

allow openreview.Client to run as a context manager

Open mspector opened this issue 6 years ago • 1 comments

e.g.

with openreview.Client() as client:
    notes = client.get_notes( ... )

https://jeffknupp.com/blog/2016/03/07/python-with-context-managers/

mspector avatar Aug 09 '18 14:08 mspector

I like it!

melisabok avatar Aug 09 '18 15:08 melisabok