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 2019/01/29 20:20:23 UTC

[GitHub] feluelle edited a comment on issue #4476: [AIRFLOW-3552] Add ImapAttachmetToS3Operator

feluelle edited a comment on issue #4476: [AIRFLOW-3552] Add ImapAttachmetToS3Operator
URL: https://github.com/apache/airflow/pull/4476#issuecomment-458692008
 
 
   @ashb I understand your idea, but I don't think this can't be more generic. It won't get _simpler_.
   
   What I have done in for our custom airflow plugin is adding kinda like an interface:
   ```
   class BaseTransferOperator(BaseOperator):
   
     def __init__(self, source_conn_id, destination_conn_id, **kwargs):
       pass
   ```
   
   **So all transfer operators need to have two connections.**

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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