Currently, i can use node.add_relationships() to update a relation with a list of ID.
when saving the object in the store I may not have the ID so it's forcing me to requested Infrahub to get the ID before I build the list, which is not efficient
Describe the Use Case
As a user I would like to be able to add related_node via the node.add_relationships() function using the HFID instead of the ID
Component
Python SDK
Describe the Feature Request
Currently, i can use
node.add_relationships()
to update a relation with a list of ID. when saving the object in the store I may not have the ID so it's forcing me to requested Infrahub to get the ID before I build the list, which is not efficientDescribe the Use Case
As a user I would like to be able to add related_node via the
node.add_relationships()
function using the HFID instead of the IDAdditional Information
No response