mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-13 09:23:45 +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
|
of a metadata workflow or during an Automation Workflow
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if service_connection.metastoreConnection and isinstance(
|
if (
|
||||||
service_connection.metastoreConnection, dict
|
service_connection.metastoreConnection
|
||||||
|
and isinstance(service_connection.metastoreConnection, dict)
|
||||||
|
and len(service_connection.metastoreConnection) > 0
|
||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
service_connection.metastoreConnection = MysqlConnection.model_validate(
|
service_connection.metastoreConnection = MysqlConnection.model_validate(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user