Component
No response
Infrahub SDK version
1.18.1
Current Behavior
I updated a Node attribute using the SDK and saved the object. After running the InfrahubNodeSync().update() and InfrahubNodeSync().update(do_full_update=True) multiple times my computed_attributes were not updated. I see the updated value in the GUI but the SDK does not update no matter what.
Basically I have to trash every node after I modify them and query the API again.
Expected Behavior
InfrahubNodeSync().update() should pull updates for computed attributes and update the model with any new data.
Steps to Reproduce
- Configure a Node with 2 attributes (1 attribute such as Text and a computed_attribute that uses the other attribute)
- Query the node in the SDK.
- Update the Text attribute
- Save the Node
- Run
InfrahubNodeSync().update() or InfrahubNodeSync().update(do_full_update=True)
- The computed_attributed is never updated to the new value
Additional Information
No response
Component
No response
Infrahub SDK version
1.18.1
Current Behavior
I updated a Node attribute using the SDK and saved the object. After running the
InfrahubNodeSync().update()andInfrahubNodeSync().update(do_full_update=True)multiple times my computed_attributes were not updated. I see the updated value in the GUI but the SDK does not update no matter what.Basically I have to trash every node after I modify them and query the API again.
Expected Behavior
InfrahubNodeSync().update()should pull updates for computed attributes and update the model with any new data.Steps to Reproduce
InfrahubNodeSync().update()orInfrahubNodeSync().update(do_full_update=True)Additional Information
No response