mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-10 08:21:21 +00:00
29 lines
891 B
GraphQL
29 lines
891 B
GraphQL
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|