diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-12-21 12:50:25 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-12-21 12:50:25 -0500 |
commit | a6d2cc57d47f149398bf3817ebdfe15ff8d908e2 (patch) | |
tree | 781f74b7b2dd09d3b6f49e58c02f6d2b7b0095ad | |
parent | f1be3e74a6c8b28c7ef77ce6ee8808364b02b2a7 (diff) | |
download | oslo-db-a6d2cc57d47f149398bf3817ebdfe15ff8d908e2.tar.gz |
Remove convert_unicode flag4.43.0
This flag is to be deprecated in SQLAlchemy version 1.3,
as it is a leftover from the pre-Python 3 legacy days when
DBAPIs under Python 2 would crash if you passed them a
u'' object. While still available in 1.3, it will emit a
deprecation warning, so it's time to stop using this flag and to
locate any downstream Openstack projects that might be relying
on its behavior in a Python 2 context; the flag has no real effect
on Python 3.
Change-Id: I01984b4ff7e03dcf91ef8dcb05da67dda8270ae3
References: https://github.com/sqlalchemy/sqlalchemy/issues/4393
-rw-r--r-- | oslo_db/sqlalchemy/engines.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/oslo_db/sqlalchemy/engines.py b/oslo_db/sqlalchemy/engines.py index 05045ca..999d4c3 100644 --- a/oslo_db/sqlalchemy/engines.py +++ b/oslo_db/sqlalchemy/engines.py @@ -159,7 +159,6 @@ def create_engine(sql_connection, sqlite_fk=False, mysql_sql_mode=None, engine_args = { "pool_recycle": connection_recycle_time, - 'convert_unicode': True, 'connect_args': {}, 'logging_name': logging_name } |