Typo InidicesClient -> IndicesClient
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from ..transport import Transport
|
||||
from .indices import InidicesClient
|
||||
from .indices import IndicesClient
|
||||
from .cluster import ClusterClient
|
||||
|
||||
def _normalize_hosts(hosts):
|
||||
@@ -51,5 +51,5 @@ class Elasticsearch(object):
|
||||
self.transport = transport_class(_normalize_hosts(hosts), **kwargs)
|
||||
|
||||
# namespaced clients for compatibility with API names
|
||||
self.indices = InidicesClient(self)
|
||||
self.indices = IndicesClient(self)
|
||||
self.cluster = ClusterClient(self)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .utils import NamespacedClient, query_params, _make_path
|
||||
from ..exceptions import NotFoundError
|
||||
|
||||
class InidicesClient(NamespacedClient):
|
||||
class IndicesClient(NamespacedClient):
|
||||
@query_params('analyzer', 'field', 'filters', 'format', 'index', 'prefer_local', 'text', 'tokenizer')
|
||||
def analyze(self, index=None, body=None, params=None):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user