Changes between Initial Version and Version 1 of Ticket #36696
- Timestamp:
- Oct 29, 2025, 5:31:49 PM (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36696
- Property Keywords deferred annotations added
- Property Severity Normal → Release blocker
- Property Triage Stage Unreviewed → Accepted
- Property Type Uncategorized → Bug
-
Ticket #36696 – Description
initial v1 18 18 This can be resolved in various ways: 19 19 1. One can add from __future__ import annotations to switch back to Stringified annotations. However, this is called to be deprecated in the future 20 2. One can switch to always i ncludeHttpRequest. This would work, but code linters will fight this, argueing that HttpRequest is only used as an type annotation here (which is correct)20 2. One can switch to always import HttpRequest. This would work, but code linters will fight this, argueing that HttpRequest is only used as an type annotation here (which is correct) 21 21 3. As django.utils.inspect does not actually care for the annotations, inspect.inspect(..., annotation_format=annotationlib.Format.STRING) can be used (sadly this works only in Python 3.14). 22 22