jina.types.request.control module
Bases: jina.types.request.Request
is one of the primitive data type in Jina.
It offers a Pythonic interface to allow users access and manipulate object without working with Protobuf itself.
A container for serialized jina_pb2.ControlRequestProto
that only triggers deserialization and decompression when receives the first read access to its member.
It overrides __getattr__()
to provide the same get/set interface as an jina_pb2.ControlRequestProtoProto
object.
Parameters
request – The request.
property proto: jina_pb2.ControlRequestProto
Cast
self
to ajina_pb2.ControlRequestProto
. Laziness will be broken and serialization will be recomputed when callingSerializeToString()
. :rtype: :return: protobuf instanceproperty command: str
Get the command.