You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[AIRFLOW-2192] Allow non-latin1 usernames with MySQL backend by adding a SQL_ENGINE_ENCODING param and default to UTF-8 (#4087)
Compromised of:
Since we have unicode_literals importred and the engine arguments must be strings in Python2 explicitly make 'utf-8' a string.
replace bare exception with conf.AirflowConfigException for missing value.
It's just got for strings apparently.
Add utf-8 to default_airflow.cfg - question do I still need the try try/except block or can we depend on defaults (I note some have both).
Get rid of try/except block and depend on default_airflow.cfg
Use __str__ since calling str just gives us back a newstr as well.
Test that a panda user can be saved.
0 commit comments