Skip to content

Commit

Permalink
amp evaluations table and runs table
Browse files Browse the repository at this point in the history
  • Loading branch information
salazarm committed Oct 6, 2023
1 parent c6be0af commit 00547a5
Show file tree
Hide file tree
Showing 9 changed files with 549 additions and 137 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type CloudFeatureFlagContextType = {
enableAMPTimeline: boolean;
};
export const CloudFeatureFlagContext = React.createContext<CloudFeatureFlagContextType>({
enableAMPTimeline: true,
enableAMPTimeline: false,
});
export const useCloudFeatureFlag = () => {
return React.useContext(CloudFeatureFlagContext);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import {gql} from '@apollo/client';

import {PYTHON_ERROR_FRAGMENT} from '../../app/PythonErrorFragment';

export const ASSET_DAMEON_TICKS_QUERY = gql`
query AssetDaemonTicksQuery(
$dayRange: Int
$dayOffset: Int
$statuses: [InstigationTickStatus!]
$limit: Int
$cursor: String
) {
autoMaterializeTicks(
dayRange: $dayRange
dayOffset: $dayOffset
statuses: $statuses
limit: $limit
cursor: $cursor
) {
id
...AssetDaemonTickFragment
}
}
fragment AssetDaemonTickFragment on InstigationTick {
id
timestamp
endTimestamp
status
instigationType
error {
...PythonErrorFragment
}
requestedAssetKeys {
path
}
requestedAssetMaterializationCount
autoMaterializeAssetEvaluationId
requestedMaterializationsForAssets {
assetKey {
path
}
partitionKeys
}
}
${PYTHON_ERROR_FRAGMENT}
`;
Loading

0 comments on commit 00547a5

Please sign in to comment.