Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guy Rozendorn
AIO Gremlin
Commits
fca384af
Commit
fca384af
authored
Aug 11, 2020
by
Guy Rozendorn
Browse files
Adpating to changes in gremlinpython-3.4.4
parent
aaa87f83
Pipeline
#357
failed with stage
in 1 minute and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
aiogremlin/driver/protocol.py
aiogremlin/driver/protocol.py
+1
-3
No files found.
aiogremlin/driver/protocol.py
View file @
fca384af
...
...
@@ -42,8 +42,7 @@ class GremlinServerWSProtocol(protocol.AbstractBaseProtocol):
await
func
async
def
data_received
(
self
,
data
,
results_dict
):
data
=
data
.
decode
(
'utf-8'
)
message
=
self
.
_message_serializer
.
deserialize_message
(
json
.
loads
(
data
))
message
=
self
.
_message_serializer
.
deserialize_message
(
data
)
request_id
=
message
[
'requestId'
]
status_code
=
message
[
'status'
][
'code'
]
data
=
message
[
'result'
][
'data'
]
...
...
@@ -65,7 +64,6 @@ class GremlinServerWSProtocol(protocol.AbstractBaseProtocol):
else
:
if
data
:
for
result
in
data
:
result
=
self
.
_message_serializer
.
deserialize_message
(
result
)
message
=
Message
(
status_code
,
result
,
msg
)
result_set
.
queue_result
(
message
)
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment