jina.types.request.common

class jina.types.request.common.TrainDryRunRequest[source]

Bases: jina.types.request.common.DryRunRequest

Empty train request for dry run.

Set the constructor.

class jina.types.request.common.IndexDryRunRequest[source]

Bases: jina.types.request.common.DryRunRequest

Empty index request for dry run.

Set the constructor.

class jina.types.request.common.SearchDryRunRequest[source]

Bases: jina.types.request.common.DryRunRequest

Empty search request for dry run.

Set the constructor.

class jina.types.request.common.ControlDryRunRequest[source]

Bases: jina.types.request.common.DryRunRequest

Empty control request for dry run.

Set the constructor.

class jina.types.request.common.DryRunRequest(request=None, envelope=None, copy=False)[source]

Bases: jina.types.request.Request

Base empty request for dry run.

Set constructor method.

Parameters
  • request (Union[bytes, dict, str, RequestProto, None]) – request object as bytes, dictionary, string or protobuf instance

  • envelope (Optional[EnvelopeProto]) – envelope of the request

  • copy (bool) – if true, request is copied