forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmlModel.graphql
28 lines (28 loc) · 891 Bytes
/
mlModel.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
query getMLModel($urn: String!) {
mlModel(urn: $urn) {
...nonRecursiveMLModel
upstream: lineage(input: { direction: UPSTREAM, start: 0, count: 100 }) {
...partialLineageResults
}
downstream: lineage(input: { direction: DOWNSTREAM, start: 0, count: 100 }) {
...partialLineageResults
}
features: relationships(input: { types: ["Consumes"], direction: OUTGOING, start: 0, count: 100 }) {
start
count
total
relationships {
type
direction
entity {
... on MLFeature {
...nonRecursiveMLFeature
}
... on MLPrimaryKey {
...nonRecursiveMLPrimaryKey
}
}
}
}
}
}