Fix a typing import for < Python3.11.
Review Request #14351 — Created Feb. 18, 2025 and submitted — Latest diff uploaded
There's one area where we import
Self
fromtyping
. This is only
available in Python3.11+, and since we still support Python 3.8-3.10 we
need to import fromtyping_extensions
instead to avoid issues. This
change does that.
Ran unit tests. Used Djblets with Python 3.9.
djblets/forms/widgets.py |
---|