Hello,
I was trying out the tutorial to learn more about fileflow and airflow and received this error when running the tutorial code:
Traceback (most recent call last):
File "<stdin>", line 7, in <module>
File "/usr/local/lib/python2.7/dist-packages/fileflow/operators/dive_python_operator.py", line 25, in __init__
super(DivePythonOperator, self).__init__(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/fileflow/operators/dive_operator.py", line 23, in __init__
super(DiveOperator, self).__init__(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/airflow/utils/decorators.py", line 86, in wrapper
result = func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/airflow/operators/python_operator.py", line 68, in __init__
raise AirflowException('`python_callable` param must be callable')
Looks like this line was added 3 months ago into airflow :
+ if not callable(python_callable):
+ raise AirflowException('`python_callable` param must be callable')
Which seems to conflict with the DivePythonOperator
https://github.com/industrydive/fileflow/blob/master/fileflow/operators/dive_python_operator.py#L23
Would love to suggest an edit but i'm not familiar enough with both libraries yet.
Hello,
I was trying out the tutorial to learn more about fileflow and airflow and received this error when running the tutorial code:
Looks like this line was added 3 months ago into airflow :
Which seems to conflict with the DivePythonOperator
https://github.com/industrydive/fileflow/blob/master/fileflow/operators/dive_python_operator.py#L23
Would love to suggest an edit but i'm not familiar enough with both libraries yet.