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 abf9ead commit 25ec60bCopy full SHA for 25ec60b
infrahub_sdk/node.py
@@ -1118,7 +1118,7 @@ async def generate(self, nodes: list[str] | None = None) -> None:
1118
async def artifact_generate(self, name: str) -> None:
1119
self._validate_artifact_support(ARTIFACT_GENERATE_FEATURE_NOT_SUPPORTED_MESSAGE)
1120
1121
- 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])
1122
await artifact.definition.fetch() # type: ignore[attr-defined]
1123
await artifact.definition.peer.generate([artifact.id]) # type: ignore[attr-defined]
1124
0 commit comments