jina.types.message.dump

class jina.types.message.dump.DumpMessage(path, shards, pod_name='ctl', identity='', *args, **kwargs)[source]

Bases: jina.types.message.Message

Class of the protobuf message.

Parameters
  • path (str) – the path to which to dump

  • shards (int) – the nr of shards to which to dump

  • pod_name (str) – Name of the current pod.

  • identity (str) – The identity of the current pod

  • args – Additional positional arguments which are just used for the parent initialization

  • kwargs – Additional keyword arguments which are just used for the parent initialization