You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after updating my django project i have this error:
ImportError: cannot import name 'AggsProxy' from 'elasticsearch_dsl.search' (/.local/lib/python3.10/site-packages/elasticsearch_dsl/search.py)
full error is:
File "/aseman_refactor/places/serializers.py", line 4, in <module>
from django_elasticsearch_dsl_drf.serializers import DocumentSerializer
File "/.local/lib/python3.10/site-packages/django_elasticsearch_dsl_drf/serializers.py", line 36, in <module>
from .utils import EmptySearch
File "/.local/lib/python3.10/site-packages/django_elasticsearch_dsl_drf/utils.py", line 6, in <module>
from elasticsearch_dsl.search import AggsProxy
ImportError: cannot import name 'AggsProxy' from 'elasticsearch_dsl.search' (/.local/lib/python3.10/site-packages/elasticsearch_dsl/search.py)
The text was updated successfully, but these errors were encountered:
The next release of elasticsearch-dsl-py will provide an EmptySearch class (added in #1780) to allow django-elasticsearch-dsl-drf to use a more robust solution that does not depends on the internals of elasticsearch-dsl-py.
after updating my django project i have this error:
ImportError: cannot import name 'AggsProxy' from 'elasticsearch_dsl.search' (/.local/lib/python3.10/site-packages/elasticsearch_dsl/search.py)
full error is:
The text was updated successfully, but these errors were encountered: