Skip to content

Commit 5dd57f6

Browse files
reformat code
1 parent 7b1af33 commit 5dd57f6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+50
-52
lines changed

elasticsearch/dsl/_async/document.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@
2828
cast,
2929
)
3030

31+
from typing_extensions import Self, dataclass_transform
32+
3133
from elasticsearch.exceptions import NotFoundError, RequestError
3234
from elasticsearch.helpers import async_bulk
33-
from typing_extensions import Self, dataclass_transform
3435

3536
from .._async.index import AsyncIndex
3637
from ..async_connections import get_connection

elasticsearch/dsl/_async/faceted_search.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from typing import TYPE_CHECKING
1919

2020
from ..faceted_search_base import FacetedResponse, FacetedSearchBase
21-
2221
from ..utils import _R
2322
from .search import AsyncSearch
2423

elasticsearch/dsl/_async/index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
if TYPE_CHECKING:
3131
from elastic_transport import ObjectApiResponse
32+
3233
from elasticsearch import AsyncElasticsearch
3334

3435

elasticsearch/dsl/_async/search.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@
2727
cast,
2828
)
2929

30+
from typing_extensions import Self
31+
3032
from elasticsearch.exceptions import ApiError
3133
from elasticsearch.helpers import async_scan
32-
from typing_extensions import Self
3334

3435
from ..async_connections import get_connection
3536
from ..response import Response

elasticsearch/dsl/_sync/document.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@
2828
cast,
2929
)
3030

31+
from typing_extensions import Self, dataclass_transform
32+
3133
from elasticsearch.exceptions import NotFoundError, RequestError
3234
from elasticsearch.helpers import bulk
33-
from typing_extensions import Self, dataclass_transform
3435

3536
from .._sync.index import Index
3637
from ..connections import get_connection

elasticsearch/dsl/_sync/faceted_search.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from typing import TYPE_CHECKING
1919

2020
from ..faceted_search_base import FacetedResponse, FacetedSearchBase
21-
2221
from ..utils import _R
2322
from .search import Search
2423

elasticsearch/dsl/_sync/index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
if TYPE_CHECKING:
3131
from elastic_transport import ObjectApiResponse
32+
3233
from elasticsearch import Elasticsearch
3334

3435

elasticsearch/dsl/_sync/search.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
import contextlib
1919
from typing import TYPE_CHECKING, Any, Dict, Iterator, List, Optional, cast
2020

21+
from typing_extensions import Self
22+
2123
from elasticsearch.exceptions import ApiError
2224
from elasticsearch.helpers import scan
23-
from typing_extensions import Self
2425

2526
from ..connections import get_connection
2627
from ..response import Response

elasticsearch/dsl/aggs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
from elastic_transport.client_utils import DefaultType
4444

4545
from . import types
46-
4746
from .document_base import InstrumentedField
4847
from .search_base import SearchBase
4948

elasticsearch/dsl/query.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
from elastic_transport.client_utils import DefaultType
5050

5151
from . import types, wrappers
52-
5352
from .document_base import InstrumentedField
5453

5554
_T = TypeVar("_T")

0 commit comments

Comments
 (0)