From 06cdeb1304f775655069f0381443914ab113eeca Mon Sep 17 00:00:00 2001 From: mohammadrezapourreza Date: Tue, 2 Apr 2024 13:00:18 -0400 Subject: [PATCH] DH5669/reformat with black --- dataherald/scripts/populate_dialect_db_connection.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dataherald/scripts/populate_dialect_db_connection.py b/dataherald/scripts/populate_dialect_db_connection.py index 7f15cb6c..290461cf 100644 --- a/dataherald/scripts/populate_dialect_db_connection.py +++ b/dataherald/scripts/populate_dialect_db_connection.py @@ -13,7 +13,9 @@ database_connections = storage.find_all("database_connections") for database_connection in database_connections: if not database_connection.get("dialect"): - decrypted_uri = fernet_encrypt.decrypt(database_connection["connection_uri"]) + decrypted_uri = fernet_encrypt.decrypt( + database_connection["connection_uri"] + ) dialect_prefix = DatabaseConnection.validate_uri(decrypted_uri) dialect = DatabaseConnection.set_dialect(dialect_prefix) storage.update_or_create(