You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/22 16:20:19 UTC

[GitHub] [airflow] dstandish commented on pull request #14869: Fixed autocommit calls for mysql-connector-python

dstandish commented on pull request #14869:
URL: https://github.com/apache/airflow/pull/14869#issuecomment-804200824


   @ericpp looks like the test needs to be updated:
   
   ```python
        def set_autocommit(self, conn: MySQLConnectionTypes, autocommit: bool) -> None:
             """MySql connection sets autocommit in a different way."""
     >       if isinstance(conn.__class__.autocommit, property):  # mysql-connector-python
     E       AttributeError: type object 'MagicMock' has no attribute 'autocommit'
    ```
   


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