Differential D6164 Diff 30546 python_modules/dagster-graphql/dagster_graphql/schema/roots/execution_plan.py
Changeset View
Changeset View
Standalone View
Standalone View
python_modules/dagster-graphql/dagster_graphql/schema/roots/execution_plan.py
- This file was added.
import graphene | |||||
from ..errors import GraphenePipelineNotFoundError, GraphenePythonError | |||||
from ..execution import GrapheneExecutionPlan | |||||
from ..pipelines.config import GraphenePipelineConfigValidationInvalid | |||||
from ..pipelines.pipeline_errors import GrapheneInvalidSubsetError | |||||
class GrapheneExecutionPlanOrError(graphene.Union): | |||||
class Meta: | |||||
types = ( | |||||
GrapheneExecutionPlan, | |||||
GraphenePipelineConfigValidationInvalid, | |||||
GraphenePipelineNotFoundError, | |||||
GrapheneInvalidSubsetError, | |||||
GraphenePythonError, | |||||
) | |||||
name = "ExecutionPlanOrError" |