Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.


fix(grpc): fix bug in RequestGenerator query
Browse files Browse the repository at this point in the history
  • Loading branch information
Larryjianfeng committed Jul 25, 2019
1 parent af50969 commit 89d8b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnes/proto/
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def query(query: bytes, top_k: int, start_id: int = 0, *args, **kwargs):
raise ValueError('"top_k: %d" is not a valid number' % top_k)

req = gnes_pb2.Request()
req.request_id = start_id
req.request_id = str(start_id) = query = top_k
yield req
Expand Down

0 comments on commit 89d8b70

Please sign in to comment.