feluelle commented on a change in pull request #5786:  [AIRFLOW-5170] Fix 
encoding pragmas, consistent licences for python files and related pylint fixes
URL: https://github.com/apache/airflow/pull/5786#discussion_r314904246
 
 

 ##########
 File path: airflow/operators/docker_operator.py
 ##########
 @@ -184,7 +189,11 @@ def __init__(
         self.cli = None
         self.container = None
 
-    def get_hook(self):
+    def get_hook(self) -> DockerHook:
+        """
+        Retrieves hook for the operator.
 
 Review comment:
   ```suggestion
           Retrieves hook for the operator.
           
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to