Skip to content

Commit

Permalink
Update local.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CorsettiS authored Jan 17, 2025
1 parent 8f4d2bd commit ff8deaf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cosmos/operators/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
from airflow.datasets import Dataset # noqa: F811
from dbt.cli.main import dbtRunner, dbtRunnerResult

try:
from openlineage.client.event_v2 import RunEvent
except ImportError:
from openlineage.client.run import RunEvent
try: # pragma: no cover
from openlineage.client.event_v2 import RunEvent # pragma: no cover
except ImportError: # pragma: no cover
from openlineage.client.run import RunEvent # pragma: no cover


from sqlalchemy.orm import Session
Expand Down

0 comments on commit ff8deaf

Please sign in to comment.