We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f1ebbb commit abf9eadCopy full SHA for abf9ead
infrahub_sdk/node.py
@@ -1125,7 +1125,7 @@ async def artifact_generate(self, name: str) -> None:
1125
async def artifact_fetch(self, name: str) -> str | dict[str, Any]:
1126
self._validate_artifact_support(ARTIFACT_GENERATE_FEATURE_NOT_SUPPORTED_MESSAGE)
1127
1128
- artifact = await self._client.get(kind="CoreArtifact", definition__name__value=name, object__ids=[self.id])
+ artifact = await self._client.get(kind="CoreArtifact", name__value=name, object__ids=[self.id])
1129
content = await self._client.object_store.get(identifier=artifact.storage_id.value) # type: ignore[attr-defined]
1130
return content
1131
0 commit comments