diff --git a/changelog/66.fixed.md b/changelog/66.fixed.md new file mode 100644 index 00000000..f3fc8527 --- /dev/null +++ b/changelog/66.fixed.md @@ -0,0 +1 @@ +Fix behaviour of attribute value coming from resource pools for async client \ No newline at end of file diff --git a/infrahub_sdk/node.py b/infrahub_sdk/node.py index c0938843..275cc76a 100644 --- a/infrahub_sdk/node.py +++ b/infrahub_sdk/node.py @@ -1341,7 +1341,7 @@ async def _process_mutation_result( continue # Process allocated resource from a pool and update attribute - attr.value = object_response[attr_name] + attr.value = object_response[attr_name]["value"] for rel_name in self._relationships: rel = getattr(self, rel_name)