v0.16.0
extra_callables
extra_callables
now available for .py
files, allowing multiple callables to be passed to an underlying operator, for instance:
# ---
# operator: my.custom.operator
# python_callable: main
# extra_callables:
# my_extra_operator_callable: my_other_func
# ---
def main():
return 'hello'
def my_other_func():
return 'world'
Where my_extra_operator_callable
is the name of the argument in the operator and my_other_func
is the name of the function in the task definition file.
Consider parent class __init__
arguments
apache-airflow-providers-common-sql
1.3.0 allows for SQL-focused operators to no longer have a direct sql
argument, which can break existing task definition files. The __init__
method of parent class of SQL operators (e.g. SqliteOperator
), now contains the sql
argument.
gusty now considers parent class's __init__
arguments.