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

Commit

Permalink
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/__init__.py
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)
req.search.query.raw_bytes = query
req.search.top_k = top_k
yield req
Expand Down

0 comments on commit 89d8b70

Please sign in to comment.