jina.types.request.delete

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

Bases: jina.types.request.Request, jina.types.request.mixin.IdsMixin

Delete request class.

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