factor_agent.gate.vocabulary.OpSpec#

class OpSpec(name, cls, path, call, signature, inputs, params, dimension, description, stages=('daily',))[source]#

Bases: object

One registered operator; see the module docstring.

path is the class’s dotted path; params maps each attribute to its parameter set, or FLAG; stages are the stages it may be used in (of STAGES), or (AGGREGATION,).

Attributes#

OpSpec.is_aggregation#

Whether the operator is a session aggregation.

OpSpec.stages = ('daily',)#
OpSpec.name#
OpSpec.cls#
OpSpec.path#
OpSpec.call#
OpSpec.signature#
OpSpec.inputs#
OpSpec.params#
OpSpec.dimension#
OpSpec.description#