
from . import client
from . import index
from . import helpers


# Compatibility with old import
class algoliasearch(object):
    Client = client.Client
    Index = index.Index
    AlgoliaException = helpers.AlgoliaException


from . import client
from . import index
from . import helpers
from . import version


# Compatibility with old import
class algoliasearch(object):
    VERSION = version.VERSION

    Client = client.Client
    Index = index.Index
    AlgoliaException = helpers.AlgoliaException

Make VERSION easier to access
Make VERSION easier to access

Until now `algoliasearch.version.VERSION` was needed to obtain the
current version. Only `algoliasearch.VERSION` is now needed.
The change is backward compatible: it is still possible to do
`algoliasearch.version.VERSION`.

  
  from . import client
  from . import index
  from . import helpers
+ from . import version
  
  
  # Compatibility with old import
  class algoliasearch(object):
+     VERSION = version.VERSION
+ 
      Client = client.Client
      Index = index.Index
      AlgoliaException = helpers.AlgoliaException
  
Make VERSION easier to access
## Code Before:

from . import client
from . import index
from . import helpers


# Compatibility with old import
class algoliasearch(object):
    Client = client.Client
    Index = index.Index
    AlgoliaException = helpers.AlgoliaException

## Instruction:
Make VERSION easier to access
## Code After:

from . import client
from . import index
from . import helpers
from . import version


# Compatibility with old import
class algoliasearch(object):
    VERSION = version.VERSION

    Client = client.Client
    Index = index.Index
    AlgoliaException = helpers.AlgoliaException
