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
:str
Name of the operator class
-
sql
:str
Fixed sql string (will be templated)
-
is_sensor
:bool
, defaultFalse
Set to True if this is a sensor
Returns¶
-
typing.Type
New operator class