mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-02 19:48:17 +00:00
MINOR: Fix db2 license file import (#19731)
* Fix db2 license file import * Update connection.py (cherry picked from commit 67899149e49dd5050ead0eadec1399ef67198c35)
This commit is contained in:
parent
365f0e421c
commit
3032d34fdc
@ -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