Fokko 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_r314250600
 
 

 ##########
 File path: airflow/contrib/hooks/grpc_hook.py
 ##########
 @@ -58,7 +61,7 @@ def get_conn(self):
 
         if auth_type == "NO_AUTH":
             channel = grpc.insecure_channel(base_url)
-        elif auth_type == "SSL" or auth_type == "TLS":
+        elif auth_type in ["SSL", "TLS"]:
 
 Review comment:
   ```suggestion
           elif auth_type in {"SSL", "TLS"}:
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to