potiuk commented on PR #26162:
URL: https://github.com/apache/airflow/pull/26162#issuecomment-1237997512

   > Why I move this part inside of DockerHook hook:
   
   > docker_conn_id not only use in DockerOperator also it use in 
DockerSwarmOperator and @task.docker task-flow decorator which won't work with 
EcrDockerOperator
   > This is optional parameter
   
   It should be done in discoverable mode. The very same how in "common.sql" we 
instantiate Hook based on "connection_id" (without knowing the type of the hook 
upfront). The only requirement is that it extends DBApiHook. We should have a 
common authentication interface implemented by Docker Operator, and some 
functionality in the Hook to allow the "authentication" to be discovered and 
used. 
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to