dstandish commented on a change in pull request #6850: [AIRFLOW-6296] add mssql 
odbc hook
URL: https://github.com/apache/airflow/pull/6850#discussion_r363019662
 
 

 ##########
 File path: setup.py
 ##########
 @@ -275,6 +275,7 @@ def write_version(filename: str = 
os.path.join(*["airflow", "git_version"])):
 ]
 mssql = [
     'pymssql~=2.1.1',
+    'pyodbc',
 
 Review comment:
   ALSO, there will never be an odbc property called `connect_kwargs`, so i 
don't think we have to worry about future proofing with regard to that 
potential addition.
   But with pyodbc connect kwargs , you tend to want to reference constants 
defined in the library (because they are integers that have no obvious meaning) 
so i think this would make more sense in hook init anyway.

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