-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Description
Initial Checks
- I have searched Google & GitHub for similar requests and couldn't find anything
- I have read and followed the docs and still think this feature is missing
Description
I use DocArray in Jina, when I set the form of a millisecond timestamp to doc in executor,error as below:
doc = MyDocument(data=int(time.time() * 1000))
proto = doc.to_protobuf()
res_doc = MyDocument.from_protobuf(proto)
print(res_doc)I have reviewed the source code and found that NodeProto does not support int64, but the native Google library does have this type.
In our scenario, we need to record millisecond information. Currently, we can only convert it temporarily in the executor using a string, which is very inconvenient. We hope the official support for native types will be provided.
Affected Components
Metadata
Metadata
Assignees
Labels
No labels


