jina.peapodsΒΆ

jina.peapods.Pea(args=None, allow_remote=True, **kwargs)[source]ΒΆ

Initialize a BasePea, RemotePea or ContainerPea

Parameters
  • args (argparse.Namespace) – arguments from CLI

  • allow_remote (bool) – allow start a RemotePea

  • kwargs – all supported arguments from CLI

jina.peapods.Pod(args=None, allow_remote=True, **kwargs)[source]ΒΆ

Initialize a BasePod, RemotePod, MutablePod or RemoteMutablePod

Parameters
  • args (Union[ForwardRef, Dict]) – arguments from CLI

  • allow_remote (bool) – allow start a RemotePod

  • kwargs – all supported arguments from CLI