[7.x] Sort imports with isort and regenerate APIs

This commit is contained in:
Seth Michael Larson
2021-01-13 14:21:04 -06:00
committed by GitHub
parent e0e54a1128
commit a728aaa491
195 changed files with 1010 additions and 816 deletions
@@ -16,6 +16,7 @@
# under the License.
from unittest import SkipTest
from elasticsearch.helpers import test
from elasticsearch.helpers.test import ElasticsearchTestCase as BaseTestCase
@@ -17,8 +17,11 @@
import os
import time
import pytest
import elasticsearch
from ..utils import wipe_cluster
@@ -17,11 +17,11 @@
from mock import patch
from elasticsearch import helpers, TransportError
from elasticsearch import TransportError, helpers
from elasticsearch.helpers import ScanError
from . import ElasticsearchTestCase
from ..test_cases import SkipTest
from . import ElasticsearchTestCase
class FailingBulkClient(object):
@@ -20,16 +20,17 @@ Dynamically generated set of TestCases based on set of yaml files describing
some integration tests. These files are shared among all official Elasticsearch
clients.
"""
import sys
import re
import os
from os import walk, environ
from os.path import exists, join, dirname, pardir, relpath
import yaml
import re
import sys
import warnings
import pytest
from os import environ, walk
from os.path import dirname, exists, join, pardir, relpath
from elasticsearch import TransportError, RequestError, ElasticsearchWarning
import pytest
import yaml
from elasticsearch import ElasticsearchWarning, RequestError, TransportError
from elasticsearch.compat import string_types
from elasticsearch.helpers.test import _get_version