mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-29 00:18:24 +00:00
MINOR: Fix db2 license file import (#19731)
* Fix db2 license file import * Update connection.py
This commit is contained in:
parent
5bb8c5cfe3
commit
67899149e4
@ -50,7 +50,7 @@ def get_connection(connection: Db2Connection) -> Engine:
|
||||
"w",
|
||||
encoding=UTF_8,
|
||||
) as file:
|
||||
file.write(connection.license)
|
||||
file.write(connection.license.encode(UTF_8).decode("unicode-escape"))
|
||||
|
||||
return create_generic_db_connection(
|
||||
connection=connection,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user