Skip to content
Permalink
Browse files

fix(grpc): fix bug in RequestGenerator query

  • Loading branch information...
Larryjianfeng committed Jul 25, 2019
1 parent af50969 commit 89d8b70c9e8df6b2de55e7668bab88e67466e21f
Showing with 1 addition and 1 deletion.
  1. +1 −1 gnes/proto/__init__.py
@@ -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

0 comments on commit 89d8b70

Please sign in to comment.
You can’t perform that action at this time.