jina.orchestrate.pods.factory module

class jina.orchestrate.pods.factory.PodFactory[source]

Bases: object

A PodFactory is a factory class, abstracting the Pod creation

static build_pod(args)[source]

Build an implementation of a BasePod interface

Parameters

args (Namespace) – deployment arguments parsed from the CLI.

Return type

Type[ForwardRef]

Returns

the created BaseDeployment