Created
July 5, 2024 16:57
-
-
Save garethbrickman/8835da429f283c99aca1c9217abfdcf9 to your computer and use it in GitHub Desktop.
Dagster - GraphQL query to get data about multiple assets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query AssetQuery($assetKeys: [AssetKeyInput!]!) { | |
assetNodes(assetKeys: $assetKeys) { | |
id | |
assetKey { | |
path | |
} | |
groupName | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"assetKeys": [ | |
{ | |
"path": ["prefix_1", "placeholder1"] | |
}, | |
{ | |
"path": ["prefix_2", "placeholder2"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment