> This page is for SDKs, 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.3.13

**`(fix):`** Fix `NameError` when a type uses `extends` to inherit from a base type in a different
file and that base type is part of a circular reference cycle. The generator was
incorrectly deferring the base class import to the bottom of the file via ghost
references, but Python requires base class imports before the class definition.
Ghost references for extended (base class) types are now skipped so their imports
remain at the top of the file.