Skip to content

Commit 8567375

Browse files
Merge pull request #47 from algolia/version-access
Make VERSION easier to access
2 parents 33e6d7c + 74f0751 commit 8567375

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

algoliasearch/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,13 @@
2525
from . import client
2626
from . import index
2727
from . import helpers
28+
from . import version
2829

2930

3031
# Compatibility with old import
3132
class algoliasearch(object):
33+
VERSION = version.VERSION
34+
3235
Client = client.Client
3336
Index = index.Index
3437
AlgoliaException = helpers.AlgoliaException

0 commit comments

Comments
 (0)