diff --git a/docs/usage.rst b/docs/usage.rst index ae8e7f46c4f51993005cdd4fed8aee40d2641b5d..057064716ad3e366a75ff4f9c3cef16449e01d2f 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)