mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-30 08:57:09 +00:00
Fix - Hive Metastore None issue (#23520)
(cherry picked from commit be51d534643372ce63be4202cb17b2d73b627347)
This commit is contained in:
parent
f7faaa9b2d
commit
b75d5bbd4e
@ -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