Skip to content

flowetl.mixins.wrapping_sql_mixin

Class WrappingSQLMixin

WrappingSQLMixin()
Source: flowetl/mixins/wrapping_sql_mixin.py

Methods

prepare_template

prepare_template(self) -> None
Source: flowetl/mixins/wrapping_sql_mixin.py

wrapped_sql_operator

wrapped_sql_operator(*, class_name: str, sql: str) -> Type
Source: flowetl/mixins/wrapping_sql_mixin.py

Creates a new operator type which wraps user supplied SQL in a fixed sql template.

Parameters

  • class_name: str

    Class name for the operator

  • sql: str

    SQL string to use as wrapper

Returns

  • typing.Type