mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-01 19:18:05 +00:00
Fix - Hive Metastore None issue (#23520)
This commit is contained in:
parent
e77d1940cb
commit
be51d53464
@ -229,8 +229,10 @@ def test_connection(
|
||||
of a metadata workflow or during an Automation Workflow
|
||||
"""
|
||||
|
||||
if service_connection.metastoreConnection and isinstance(
|
||||
service_connection.metastoreConnection, dict
|
||||
if (
|
||||
service_connection.metastoreConnection
|
||||
and isinstance(service_connection.metastoreConnection, dict)
|
||||
and len(service_connection.metastoreConnection) > 0
|
||||
):
|
||||
try:
|
||||
service_connection.metastoreConnection = MysqlConnection.model_validate(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user