Skip to content

Instantly share code, notes, and snippets.

@garethbrickman
Created July 5, 2024 16:57
Show Gist options
  • Save garethbrickman/8835da429f283c99aca1c9217abfdcf9 to your computer and use it in GitHub Desktop.
Save garethbrickman/8835da429f283c99aca1c9217abfdcf9 to your computer and use it in GitHub Desktop.
Dagster - GraphQL query to get data about multiple assets
query AssetQuery($assetKeys: [AssetKeyInput!]!) {
assetNodes(assetKeys: $assetKeys) {
id
assetKey {
path
}
groupName
}
}
{
"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