pymysql.connect() raises “TypeError: Object of type Connection is not JSON serializable”
I’m doing some experiments with airflow dags in docker container, and want to have a function that returns a db connection and cursor.
I’m doing some experiments with airflow dags in docker container, and want to have a function that returns a db connection and cursor.