The baseoperator class in airflow has the pre_execute method, I saw a code like this:
subdag_operator_x.pre_execute = lambda a: api_x_call(a)
I can't found the name of this "=" sign over a class method, I mens, I want to understand what's this operation effect over the class method, (I tried finding, "override a method" or "overload a method", but no luck). It replaces the original method? can I use a common function instead of the lambda function?
It would be great if someone can point to some python documentation please.
Thanks