PYTHON-6259ClosedDone

Enable ruff TC003 rule

h3. *Context* {color:#505f79}Describe the background behind the problem.{color} Ruff's [TC003|https://docs.astral.sh/ruff/rules/typing-only-standard-library-import/] rule requires that stdlib imports used only for type-checking are imported within a {{if TYPE_CHECKING}} block for improved runtime performance. h3. *Definition of done* {color:#505f79}What must be done to consider the task complete?{color} Enable the TC003 rule and make the required code changes for it to pass. h3. *Pitfa

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.