Commit c36823cf authored by davebshow's avatar davebshow
Browse files

fixed a couple typos

parent 8bfbf574
......@@ -119,7 +119,8 @@ class GremlinClient:
op = op or self.op
processor = processor or self.processor
ws = self._connector.ws_connect(self.url, timeout=self._timeout)
ws = yield from self._connector.ws_connect(
self.url, timeout=self._timeout)
writer = GremlinWriter(ws)
ws = writer.write(gremlin, bindings=bindings, lang=lang, op=op,
......
......@@ -15,7 +15,6 @@ class GremlinConnector(WebSocketConnector):
kwargs["ws_response_class"] = GremlinClientWebSocketResponse
super().__init__(*args, **kwargs)
@asyncio.coroutine
def create_client(self, *, url='ws://localhost:8182/', loop=None,
protocol=None, lang="gremlin-groovy", op="eval",
processor="", verbose=False):
......
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