Changeset View
Changeset View
Standalone View
Standalone View
js_modules/dagit/src/partitions/PartitionGraphUtils.tsx
import {gql} from '@apollo/client'; | import {gql} from '@apollo/client'; | ||||
import {Colors} from '@blueprintjs/core'; | import {Colors} from '@blueprintjs/core'; | ||||
import * as React from 'react'; | import * as React from 'react'; | ||||
import styled from 'styled-components/macro'; | import styled from 'styled-components/macro'; | ||||
import {colorHash} from 'src/Util'; | import {colorHash} from 'src/Util'; | ||||
import {PartitionGraphFragment} from 'src/partitions/types/PartitionGraphFragment'; | import {PartitionGraphFragment} from 'src/partitions/types/PartitionGraphFragment'; | ||||
export const PIPELINE_LABEL = 'Total pipeline'; | export const PIPELINE_LABEL = 'Total pipeline'; | ||||
export const PARTITION_GRAPH_FRAGMENT = gql` | export const PARTITION_GRAPH_FRAGMENT = gql` | ||||
fragment PartitionGraphFragment on PipelineRun { | fragment PartitionGraphFragment on PipelineRun { | ||||
id | |||||
runId | runId | ||||
stats { | stats { | ||||
... on PipelineRunStatsSnapshot { | ... on PipelineRunStatsSnapshot { | ||||
startTime | startTime | ||||
endTime | endTime | ||||
materializations | materializations | ||||
} | } | ||||
... on PythonError { | ... on PythonError { | ||||
▲ Show 20 Lines • Show All 211 Lines • Show Last 20 Lines |