From e6ca9f4482b61660ca41cbfd56d907505a0331a0 Mon Sep 17 00:00:00 2001 From: Pete Crocker Date: Sun, 29 Mar 2026 12:12:53 +0100 Subject: [PATCH 1/2] Fix incorrect docs URL for object conversion guide The docstrings for convert_node referenced /guides/object-convert-type which doesn't exist. Updated to /guides/object-conversion. --- infrahub_sdk/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrahub_sdk/client.py b/infrahub_sdk/client.py index 988d30bd..bd041bf3 100644 --- a/infrahub_sdk/client.py +++ b/infrahub_sdk/client.py @@ -1864,7 +1864,7 @@ async def convert_object_type( """ Convert a given node to another kind on a given branch. `fields_mapping` keys are target fields names and its values indicate how to fill in these fields. Any mandatory field not having an equivalent field - in the source kind should be specified in this mapping. See https://docs.infrahub.app/guides/object-convert-type + in the source kind should be specified in this mapping. See https://docs.infrahub.app/guides/object-conversion for more information. """ @@ -3422,7 +3422,7 @@ def convert_object_type( """ Convert a given node to another kind on a given branch. `fields_mapping` keys are target fields names and its values indicate how to fill in these fields. Any mandatory field not having an equivalent field - in the source kind should be specified in this mapping. See https://docs.infrahub.app/guides/object-convert-type + in the source kind should be specified in this mapping. See https://docs.infrahub.app/guides/object-conversion for more information. """ From 046b85a6d164f0f0e3172badc3f995b22900ff06 Mon Sep 17 00:00:00 2001 From: Pete Crocker Date: Sun, 29 Mar 2026 17:12:38 +0100 Subject: [PATCH 2/2] Regenerate SDK reference docs after docstring URL fix --- docs/docs/python-sdk/sdk_ref/infrahub_sdk/client.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/python-sdk/sdk_ref/infrahub_sdk/client.mdx b/docs/docs/python-sdk/sdk_ref/infrahub_sdk/client.mdx index 7b47c99c..ba9ea4dc 100644 --- a/docs/docs/python-sdk/sdk_ref/infrahub_sdk/client.mdx +++ b/docs/docs/python-sdk/sdk_ref/infrahub_sdk/client.mdx @@ -440,7 +440,7 @@ convert_object_type(self, node_id: str, target_kind: str, branch: str | None = N Convert a given node to another kind on a given branch. `fields_mapping` keys are target fields names and its values indicate how to fill in these fields. Any mandatory field not having an equivalent field -in the source kind should be specified in this mapping. See https://docs.infrahub.app/guides/object-convert-type +in the source kind should be specified in this mapping. See https://docs.infrahub.app/guides/object-conversion for more information. ### `InfrahubClientSync` @@ -880,7 +880,7 @@ convert_object_type(self, node_id: str, target_kind: str, branch: str | None = N Convert a given node to another kind on a given branch. `fields_mapping` keys are target fields names and its values indicate how to fill in these fields. Any mandatory field not having an equivalent field -in the source kind should be specified in this mapping. See https://docs.infrahub.app/guides/object-convert-type +in the source kind should be specified in this mapping. See https://docs.infrahub.app/guides/object-conversion for more information. ### `ProcessRelationsNode`