jina.peapods.peas.helper

class jina.peapods.peas.helper.PeaType(name, bases, dct)[source]

Bases: type

Type of Pea, metaclass of BasePea.

Create and register a new class with this meta class.

Parameters
  • name – name of the Pea

  • bases – bases of Pea

  • dct – arguments dictionary

Returns

registered class