Skip to content

Conversation

@hrodmn
Copy link
Collaborator

@hrodmn hrodmn commented Oct 8, 2024

Since pgstac does not return prev or next tokens with collection search results, we have to handle the page links differently.

@hrodmn hrodmn force-pushed the patch/collection-search-paging branch from e0d4b7d to ed835c9 Compare October 8, 2024 01:23
Copy link
Member

@vincentsarago vincentsarago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@vincentsarago vincentsarago merged commit a9dce7e into stac-utils:patch/collection-search-paging Oct 8, 2024
@hrodmn hrodmn deleted the patch/collection-search-paging branch October 8, 2024 10:30
vincentsarago added a commit that referenced this pull request Jan 13, 2025
* add failing test

* handle collection paging differently (#156)

* handle collection paging differently

* test next link

* add OffsetPaginationExtension

* uncomment test

* update to pgstac 0.9.2

* update prev logic

* only test 0.9.0

* update pypstac version

* add back 0.8 support but allow skip tests

* skip for 0.8

* remove warnings

* fallback to all_collections when `CollectionSearchExtension` is not enabled (#179)

* fallback to all_collections when `CollectionSearchExtension` is not enabled

* test all_collection fallback

* add offset=0

* Update tests/conftest.py

Co-authored-by: Henry Rodman <[email protected]>

---------

Co-authored-by: Henry Rodman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants