From 67198442396b27a3363a582ff83d4252298d73db Mon Sep 17 00:00:00 2001 From: Devin Logan Date: Thu, 4 Sep 2025 14:44:49 -0400 Subject: [PATCH 1/2] document lazy_imports param --- fern/products/sdks/overview/python/configuration.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fern/products/sdks/overview/python/configuration.mdx b/fern/products/sdks/overview/python/configuration.mdx index ff8b415fc..0a54aa83c 100644 --- a/fern/products/sdks/overview/python/configuration.mdx +++ b/fern/products/sdks/overview/python/configuration.mdx @@ -107,6 +107,12 @@ When enabled, generates utility methods for working with union types, including Feature flag that removes the usage of request objects, and instead uses parameters in function signatures where possible. + + Enables lazy loading of client imports. When enabled, modules and classes are imported only when first accessed rather than at package initialization. This reduces memory footprint when using a small portion of a large API, at the cost of a latency penalty when first accessing a client. + + Set to `false` to restore eager loading behavior. + + Specifies the Python package name that users will import your generated client From 0a5cefddaf2dfb4789ec087781292e403cac9497 Mon Sep 17 00:00:00 2001 From: Aditya Arolkar Date: Thu, 4 Sep 2025 14:51:45 -0400 Subject: [PATCH 2/2] minor typo --- fern/products/sdks/overview/python/configuration.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fern/products/sdks/overview/python/configuration.mdx b/fern/products/sdks/overview/python/configuration.mdx index 0a54aa83c..64c876381 100644 --- a/fern/products/sdks/overview/python/configuration.mdx +++ b/fern/products/sdks/overview/python/configuration.mdx @@ -107,7 +107,7 @@ When enabled, generates utility methods for working with union types, including Feature flag that removes the usage of request objects, and instead uses parameters in function signatures where possible. - + Enables lazy loading of client imports. When enabled, modules and classes are imported only when first accessed rather than at package initialization. This reduces memory footprint when using a small portion of a large API, at the cost of a latency penalty when first accessing a client. Set to `false` to restore eager loading behavior. @@ -331,4 +331,4 @@ config: Generate Pydantic models that implement inheritance when a model utilizes the Fern `extends` keyword. - \ No newline at end of file +