Skip to content

flowetl.mixins.fixed_sql_mixin

Class FixedSQLMixin

FixedSQLMixin(*args, **kwargs) -> None
Source: flowetl/mixins/fixed_sql_mixin.py

fixed_sql_operator

fixed_sql_operator(*, class_name: str, sql: str, is_sensor: bool = False) -> Type
Source: flowetl/mixins/fixed_sql_mixin.py

Manufactor a new operator which will run a fixed sql template.

Parameters

  • class_name: str

    Name of the operator class

  • sql: str

    Fixed sql string (will be templated)

  • is_sensor: bool, default False

    Set to True if this is a sensor

Returns

  • typing.Type

    New operator class