jina.types.request.mixin

class jina.types.request.mixin.DocsPropertyMixin[source]

Bases: object

Mixin class of docs property.

property docs

Get the :class: DocumentSet with sequence body.docs as content.

Return type

DocumentSet

class jina.types.request.mixin.GroundtruthPropertyMixin[source]

Bases: object

Mixin class of groundtruths property.

property groundtruths

Get the groundtruths in :class: DocumentSet type.

Return type

DocumentSet

class jina.types.request.mixin.IdsMixin[source]

Bases: object

Mixin class of ids property.

property ids

Get the ids.

class jina.types.request.mixin.CommandMixin[source]

Bases: object

Mixin class of command property.

property command

Get the command.

Return type

str