diff --git a/atlasapi/__init__.py b/atlasapi/__init__.py index ed90048..71e9b6a 100644 --- a/atlasapi/__init__.py +++ b/atlasapi/__init__.py @@ -15,4 +15,4 @@ # __init__.py # Version of the realpython-reader package -__version__ = "2.0.1" \ No newline at end of file +__version__ = "2.0.2" diff --git a/atlasapi/settings.py b/atlasapi/settings.py index 1723f5c..2d51591 100644 --- a/atlasapi/settings.py +++ b/atlasapi/settings.py @@ -24,7 +24,7 @@ class Settings: # Atlas APIs BASE_URL = getenv('BASE_URL', 'https://cloud.mongodb.com') - URI_STUB = '/api/atlas/v1.0' + URI_STUB = getenv('URI_STUB', '/api/atlas/v1.0')) api_resources = { "Project": { diff --git a/setup.py b/setup.py index c84467e..f0ca0ae 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,9 @@ #!/usr/bin/env python3 -from setuptools import setup, find_packages +from setuptools import find_packages, setup setup( name='atlasapi', - version='2.0.1', + version='2.0.2', python_requires='>=3.7', packages=find_packages(exclude=("tests",)), install_requires=['requests', 'python-dateutil', 'isodate', 'future', 'pytz','coolname', 'humanfriendly', 'nose'],