Describe the bug
In the end-to-end tests, the file golden-record/my_test_api_client/models/body_upload_file_tests_upload_post.py passes type checking, but would fail in a runtime call in a call to BodyUploadFileTestsUploadPost.to_multipart() at the following point:
Activity
kgutwin commented on Jan 3, 2024
Looking again, is there a reason why the check for if TYPE_CHECKING: is present at the top of model.py.jinja when importing the model's lazy imports?
Fix bad code generation (#1360)
dbanty commented on Dec 3, 2025
Fixed by #1360
Release 0.28.0 (#1368)