towhee.engine.operator_contextΒΆ

Classes

OpStatus

An enumeration.

OperatorContext

The OperatorContext manages an operator's input data and output data at runtime, as well as the operators' dependency within a GraphContext. The abstraction of OperatorContext hides the complexity of Dataframe management, input iteration, and data dependency between Operators. It offers a Task-based scheduling context. :param op_repr: (OperatorRepr) The operator representation :param dataframes: (dict of DataFrame) All the DataFrames in GraphContext.