Skip to content

Commit

Permalink
Try to import new module for ExternalRepositoryOrigin.
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Dardzinski <kuba0221@gmail.com>
  • Loading branch information
JDarDagran committed Mar 14, 2024
1 parent c3765bf commit fb773a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion integration/dagster/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
EventLogRecord,
)
from dagster.core.execution.plan.objects import StepFailureData, StepSuccessData
from dagster.core.host_representation import ExternalRepositoryOrigin

try:
from dagster.core.host_representation import ExternalRepositoryOrigin
except ImportError:
from dagster._core.remote_representation.origin import ExternalRepositoryOrigin
from dagster.core.types.loadable_target_origin import LoadableTargetOrigin
from dagster.version import __version__ as DAGSTER_VERSION

Expand Down

0 comments on commit fb773a5

Please sign in to comment.