Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export AutomationContext and AutomationResult #25210

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions python_modules/dagster/dagster/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,14 @@
)
from dagster._core.definitions.declarative_automation.automation_condition import (
AutomationCondition as AutomationCondition,
AutomationResult as AutomationResult,
)
from dagster._core.definitions.declarative_automation.automation_condition_tester import (
evaluate_automation_conditions as evaluate_automation_conditions,
)
from dagster._core.definitions.declarative_automation.automation_context import (
AutomationContext as AutomationContext,
)
from dagster._core.definitions.decorators.asset_check_decorator import (
asset_check as asset_check,
multi_asset_check as multi_asset_check,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import logging

from dagster import AutomationCondition, DagsterInstance, asset, evaluate_automation_conditions
from dagster._core.definitions.declarative_automation.automation_condition import AutomationResult
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster import (
AutomationCondition,
AutomationContext,
AutomationResult,
DagsterInstance,
asset,
evaluate_automation_conditions,
)


def test_cursoring() -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import Mapping, Optional, Sequence, Tuple

import dagster._check as check
from dagster import AssetKey
from dagster import AssetKey, AutomationContext
from dagster._core.asset_graph_view.asset_graph_view import AssetGraphView
from dagster._core.asset_graph_view.entity_subset import EntitySubset
from dagster._core.definitions.asset_daemon_cursor import AssetDaemonCursor
Expand All @@ -16,7 +16,6 @@
from dagster._core.definitions.declarative_automation.automation_condition_evaluator import (
AutomationConditionEvaluator,
)
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._core.definitions.declarative_automation.operators.boolean_operators import (
AndAutomationCondition,
)
Expand Down