mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-01 05:36:58 +00:00
Fixed Snowflake (#4270)
This commit is contained in:
parent
77af1f2218
commit
e64bed10b4
@ -49,7 +49,7 @@ class SnowflakeSource(SQLSource):
|
|||||||
config.serviceConnection.__root__.config.connectionArguments
|
config.serviceConnection.__root__.config.connectionArguments
|
||||||
)
|
)
|
||||||
if connection_arguments:
|
if connection_arguments:
|
||||||
if connection_arguments.private_key:
|
if hasattr(connection_arguments, "private_key"):
|
||||||
private_key = connection_arguments.private_key
|
private_key = connection_arguments.private_key
|
||||||
p_key = serialization.load_pem_private_key(
|
p_key = serialization.load_pem_private_key(
|
||||||
bytes(private_key, "utf-8"),
|
bytes(private_key, "utf-8"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user