Skip to content

Commit 61cd1cc

Browse files
authored
fix: not honoring offset and limit in Collection query (#82)
* fix: not assigning limit and offset from api endpoint * chore: bump version
1 parent beb2fad commit 61cd1cc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cumulus_lambda_functions/cumulus_collections_dapa/cumulus_collections_dapa.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def __init__(self, event):
1515
self.__jwt_token = 'NA'
1616
self.__limit = 10
1717
self.__offset = 0
18+
self.__assign_values()
1819
self.__page_number = (self.__offset // self.__limit) + 1
1920
if 'CUMULUS_BASE' not in os.environ:
2021
raise EnvironmentError('missing key: CUMULUS_BASE')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
setup(
1818
name="cumulus_lambda_functions",
19-
version="1.7.1",
19+
version="1.7.2",
2020
packages=find_packages(),
2121
install_requires=install_requires,
2222
tests_require=['mock', 'nose', 'sphinx', 'sphinx_rtd_theme', 'coverage', 'pystac', 'python-dotenv', 'jsonschema'],

0 commit comments

Comments
 (0)