> This page is for SDK, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 5.6.1

**`(fix):`** 修复 `@fern-api/python-dynamic-snippets` 以遵循 `use_typeddict_requests` 配置选项。启用时，动态代码片段现在为对象和判别联合类型生成字典字面量而不是 Pydantic 模型构造函数。

## 5.6.0

**`(feat):`** 在生成的 Python SDK 中支持 `x-fern-default` 作为参数的回退值。当 header、查询参数或路径参数在 IR 中具有 `clientDefault` 值时，生成的 Python 函数签名将该参数设为可选，并自动应用默认值。这启用了诸如回退到固定版本的可选 API 版本 headers 等模式。