Skip to content

Conversation

@Tim020
Copy link
Contributor

@Tim020 Tim020 commented Jan 27, 2026

Summary

  • Add from __future__ import annotations to settings.py and base_controller.py
  • Required for proper deferred evaluation of type annotations when using TYPE_CHECKING imports
  • Fixes runtime NameError when imported types are used in function signatures

This is a prerequisite for PR #880 (Server Side Version Checker).

🤖 Generated with Claude Code

Add `from __future__ import annotations` to settings.py and
base_controller.py to enable proper deferred evaluation of
type annotations. This is required when using TYPE_CHECKING
imports to avoid runtime NameError when the imported types
are used in function signatures.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Tim020 Tim020 added the claude Issues created by Claude label Jan 27, 2026
@github-actions github-actions bot added server Pull requests changing back end code xsmall-diff labels Jan 27, 2026
@Tim020 Tim020 merged commit 32a5019 into dev Jan 27, 2026
12 of 13 checks passed
@Tim020 Tim020 deleted the fix/annotations-import branch January 27, 2026 00:00
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude Issues created by Claude server Pull requests changing back end code xsmall-diff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants