]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
use SQLAlchemy built-in password obfuscation
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 23 Sep 2022 14:44:17 +0000 (10:44 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 23 Sep 2022 14:44:17 +0000 (10:44 -0400)
commitaf3f6d75764b87e1021aecde0019fd5f986946ae
tree5ae146f9d5e0553e6e3c1c93d4081928abf90b5e
parent0e83fddb6c110bf1658564c248ffad9163a365fa
use SQLAlchemy built-in password obfuscation

As str(url) will be changing to obfuscate the PW,
use SQLA 1.3 / 1.4 / 2.0 functionality directly.

Change-Id: I4694cc6d2ed7f0463fe0fae8a93ee9ec5df74760
References: https://github.com/sqlalchemy/sqlalchemy/issues/8567
alembic/util/messaging.py
alembic/util/sqla_compat.py
tests/test_command.py