From 7c3585df9bee309ccbdef9661c7817591c4c47c9 Mon Sep 17 00:00:00 2001 From: davebshow <davebshow@gmail.com> Date: Sun, 9 Aug 2015 11:51:52 -0400 Subject: [PATCH] added reminder to close client in docs --- docs/usage.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/usage.rst b/docs/usage.rst index ae8e7f4..0570647 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -106,6 +106,12 @@ point to different endpoints:: ... ws_connector=connector) +Remember, when you are done you must explicitly close the :py:class:`GremlinClient` +using the coroutinemethod :py:meth:`close`:: + + >>> yield from client.close() + + .. class:: GremlinClient(self, *, url='ws://localhost:8182/', loop=None, lang="gremlin-groovy", op="eval", processor="", timeout=None, ws_connector=None) -- GitLab