flowetl.mixins.fixed_sql_mixin¶
Class FixedSQLMixin¶
FixedSQLMixin(*args, **kwargs) -> None
fixed_sql_operator¶
fixed_sql_operator(*, class_name: str, sql: str, is_sensor: bool = False) -> Type
Manufactor a new operator which will run a fixed sql template.
Parameters¶
-
class_name:strName of the operator class
-
sql:strFixed sql string (will be templated)
-
is_sensor:bool, defaultFalseSet to True if this is a sensor
Returns¶
-
typing.TypeNew operator class