From 8af0da07f7742abac5a0cb0aa38bd2af12a12588 Mon Sep 17 00:00:00 2001 From: KopekC Date: Wed, 29 Jan 2025 00:04:21 -0500 Subject: [PATCH] Prettify docs --- docs/tutorials/migrating-apis.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/tutorials/migrating-apis.mdx b/docs/tutorials/migrating-apis.mdx index 3e7d23b04..43dd50375 100644 --- a/docs/tutorials/migrating-apis.mdx +++ b/docs/tutorials/migrating-apis.mdx @@ -25,6 +25,8 @@ old_param.rename("data") # process_data(input="test") -> process_data(data="test") ``` +See [dependencies and usages](/building-with-codegen/dependencies-and-usages) for more on updating parameter names and types. + ### Adding Required Parameters When adding a new required parameter to an API: @@ -41,6 +43,8 @@ for call in call_sites: call.add_argument("timeout=30") # Add with a default value ``` +See [function calls and callsites](/building-with-codegen/function-calls-and-callsites) for more on handling call sites. + ### Changing Parameter Types When updating parameter types: @@ -58,6 +62,8 @@ for call in api_function.call_sites: arg.edit(f"UUID({arg.value})") ``` +See [working with type annotations](/building-with-codegen/type-annotations) for more on changing parameter types. + ### Deprecating Functions When deprecating an old API in favor of a new one: