Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion fern/products/sdks/overview/python/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</ParamField>

<ParamField path="lazy_import" type="bool" default="true" required={false} toc={true}>
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.
</ParamField>

<ParamField path="package-name" type="string" default="null" required={false} toc={true}>

Specifies the Python package name that users will import your generated client
Expand Down Expand Up @@ -325,4 +331,4 @@ config:

<ParamField path="use_inheritance_for_extended_models" type="bool" default="true" toc={true}>
Generate Pydantic models that implement inheritance when a model utilizes the Fern `extends` keyword.
</ParamField>
</ParamField>