Closed Javrd closed 1 year ago
from django.contrib.postgres.indexes import BTreeIndex, GinIndex, OpClass
Miss to find OpClass because it's missing at https://github.com/sbdchd/django-types/blob/main/django-stubs/contrib/postgres/indexes.pyi
Index classes are also missing a expressions positional argument from the same patch where OpClass was introduced:
https://github.com/django/django/blob/main/django/contrib/postgres/indexes.py
from django.contrib.postgres.indexes import BTreeIndex, GinIndex, OpClass
Miss to find OpClass because it's missing at https://github.com/sbdchd/django-types/blob/main/django-stubs/contrib/postgres/indexes.pyi
Index classes are also missing a expressions positional argument from the same patch where OpClass was introduced:
https://github.com/django/django/blob/main/django/contrib/postgres/indexes.py