Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. from airflow.operators.python_operator import PythonOperator
  2.  
  3.  
  4. class ExtendedPythonOperator(PythonOperator):
  5. '''
  6. extending the python operator so macros
  7. get processed for the op_kwargs field.
  8. '''
  9. template_fields = ('templates_dict', 'op_kwargs')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement