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, *args, **kwargs):
       super().__init__(*args, **kwargs)
   ```
   
   **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:
[email protected]


With regards,
Apache Git Services

Reply via email to