Changeset View
Changeset View
Standalone View
Standalone View
js_modules/dagit/src/schedules/ScheduleRow.tsx
Show First 20 Lines • Show All 680 Lines • ▼ Show 20 Lines | default: | ||||
return assertUnreachable(status); | return assertUnreachable(status); | ||||
} | } | ||||
}; | }; | ||||
const FETCH_SCHEDULE_YAML = gql` | const FETCH_SCHEDULE_YAML = gql` | ||||
query FetchScheduleYaml($scheduleSelector: ScheduleSelector!) { | query FetchScheduleYaml($scheduleSelector: ScheduleSelector!) { | ||||
scheduleDefinitionOrError(scheduleSelector: $scheduleSelector) { | scheduleDefinitionOrError(scheduleSelector: $scheduleSelector) { | ||||
... on ScheduleDefinition { | ... on ScheduleDefinition { | ||||
id | |||||
runConfigOrError { | runConfigOrError { | ||||
... on ScheduleRunConfig { | ... on ScheduleRunConfig { | ||||
yaml | yaml | ||||
} | } | ||||
... on PythonError { | ... on PythonError { | ||||
...PythonErrorFragment | ...PythonErrorFragment | ||||
} | } | ||||
} | } | ||||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |