Expose everything on elasticsearch package itself
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
from __future__ import absolute_import
|
||||||
|
|
||||||
|
from elasticsearch.client import Elasticsearch
|
||||||
|
from elasticsearch.transport import Transport
|
||||||
|
from elasticsearch.connection_pool import ConnectionPool, ConnectionSelector, \
|
||||||
|
RoundRobinSelector
|
||||||
|
from elasticsearch.serializer import JSONSerializer
|
||||||
|
from elasticsearch.connection import Connection, RequestsHttpConnection
|
||||||
|
from elasticsearch.exceptions import *
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
__all__ = ['ElastiSearchException', 'SerializationError', 'TransportError', 'NotFoundError']
|
||||||
|
|
||||||
class ElastiSearchException(Exception):
|
class ElastiSearchException(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user