Closed john-parton closed 1 month ago
KT shortcut is actually an alias for KeyTextTransform.from_lookup class method. Annotated classmethod and then assigned alias.
Accidentally imported Self from typing and not typing_extensions. Fixed, squashed, force-pushed.
See https://github.com/django/django/blob/a57596e443ecb67140e1a9fc0f0e87446b2d0174/django/db/models/fields/json.py#L409-L419 for motivation
Thanks!
KT shortcut is actually an alias for KeyTextTransform.from_lookup class method. Annotated classmethod and then assigned alias.