You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/02 02:47:45 UTC

[GitHub] [airflow] casassg opened a new issue #8056: [AIP-31] Create PythonFunctionalOperator

casassg opened a new issue #8056: [AIP-31] Create PythonFunctionalOperator
URL: https://github.com/apache/airflow/issues/8056
 
 
   **Description**
   
   Operator that enables wrapping a python function and call it as a function in the DAG.
   
   - Should have` __call__` method that captures `args` and `kwargs` and sets them as `op_args` and `op_kwargs`.
   
   **Use case / motivation**
   
   Base class needed to implement functions wrapped in operators. See `Python function decorator` in [AIP-31](https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-31:+Airflow+functional+DAG+definition) 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services