Commit 8f4d8a31 authored by davebshow's avatar davebshow
Browse files

added rebindings to usage docs

parent 36464e95
......@@ -34,8 +34,8 @@ read the chunked responses one at a time::
.. function:: submit(gremlin, *, url='ws://localhost:8182/', bindings=None,
lang="gremlin-groovy", op="eval", processor="",
timeout=None, session=None, loop=None):
lang="gremlin-groovy", rebindings=None, op="eval",
processor="", timeout=None, session=None, loop=None):
:ref:`coroutine<coroutine>`
......@@ -51,6 +51,9 @@ read the chunked responses one at a time::
:param str lang: Language of scripts submitted to the server.
"gremlin-groovy" by default
:param dict rebindings: Rebind ``Graph`` and ``TraversalSource``
objects to different variable names in the current request
:param str op: Gremlin Server op argument. "eval" by default.
:param str processor: Gremlin Server processor argument. "" by default.
......@@ -140,8 +143,9 @@ point to different endpoints::
Detach client from ws_connector. Client status is switched to closed.
.. method:: submit(gremlin, *, bindings=None, lang=None, op=None,
processor=None, binary=True, session=None, timeout=None)
.. method:: submit(gremlin, *, bindings=None, lang=None, rebindings=None,
op=None, processor=None, binary=True, session=None,
timeout=None)
:ref:`coroutine<coroutine>` method
......@@ -157,6 +161,9 @@ point to different endpoints::
:param str lang: Language of scripts submitted to the server.
"gremlin-groovy" by default
:param dict rebindings: Rebind ``Graph`` and ``TraversalSource``
objects to different variable names in the current request
:param str op: Gremlin Server op argument. "eval" by default.
:param str processor: Gremlin Server processor argument. "" by default.
......@@ -168,8 +175,9 @@ point to different endpoints::
:returns: :py:class:`aiogremlin.client.GremlinResponse` object
.. method:: execute(gremlin, *, bindings=None, lang=None, op=None,
processor=None, binary=True, session=None, timeout=None)
.. method:: execute(gremlin, *, bindings=None, lang=None, rebindings=None,
op=None, processor=None, binary=True, session=None,
timeout=None)
:ref:`coroutine<coroutine>` method
......@@ -185,6 +193,10 @@ point to different endpoints::
:param str lang: Language of scripts submitted to the server.
"gremlin-groovy" by default
:param dict rebindings: Rebind ``Graph`` and ``TraversalSource``
objects to different variable names in the current
request
:param str op: Gremlin Server op argument. "eval" by default.
:param str processor: Gremlin Server processor argument. "" by default.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment