Skip to content

Commit

Permalink
Merge branch 'main' into add-sigma-connector
Browse files Browse the repository at this point in the history
  • Loading branch information
SumanMaharana authored Sep 25, 2024
2 parents 2f09364 + d36f01a commit b8f64a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ingestion/tests/cli_e2e/common/test_cli_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
from pathlib import Path
from typing import Optional

import yaml
from sqlalchemy.engine import Engine

from metadata.config.common import load_config_file
from metadata.generated.schema.entity.services.databaseService import DatabaseService
from metadata.generated.schema.metadataIngestion.workflow import (
OpenMetadataWorkflowConfig,
Expand Down Expand Up @@ -54,7 +54,7 @@ def setUpClass(cls) -> None:
@classmethod
def tearDownClass(cls):
workflow = OpenMetadataWorkflowConfig.model_validate(
yaml.safe_load(open(cls.config_file_path))
load_config_file(Path(cls.config_file_path))
)
db_service: DatabaseService = cls.openmetadata.get_by_name(
DatabaseService, workflow.source.serviceName
Expand Down

0 comments on commit b8f64a7

Please sign in to comment.