Skip to content

Commit

Permalink
[7.4.1.dev2] Update imports from elasticsearch -> elasticsearch7
Browse files Browse the repository at this point in the history
  • Loading branch information
pearsondaniels committed Nov 4, 2024
1 parent d607b7f commit 280aa8c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion elasticsearch7_dsl/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

from elasticsearch import Elasticsearch, __version__
from elasticsearch7 import Elasticsearch, __version__
from six import string_types

from .serializer import serializer
Expand Down
2 changes: 1 addition & 1 deletion tests/test_connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

from elasticsearch import Elasticsearch
from elasticsearch7 import Elasticsearch
from pytest import raises

from elasticsearch7_dsl import connections, serializer
Expand Down
2 changes: 1 addition & 1 deletion tests/test_integration/test_document.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from ipaddress import ip_address

import pytest
from elasticsearch import ConflictError, NotFoundError
from elasticsearch7 import ConflictError, NotFoundError
from pytest import raises
from pytz import timezone

Expand Down
2 changes: 1 addition & 1 deletion tests/test_integration/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import warnings

from elasticsearch import TransportError
from elasticsearch7 import TransportError
from pytest import raises

from elasticsearch7_dsl import Date, Document, Keyword, MultiSearch, Q, Search, Text
Expand Down

0 comments on commit 280aa8c

Please sign in to comment.