Skip to content

Add proper pagination#16

Merged
s-heppner merged 7 commits into
eclipse-basyx:serverfrom
rwth-iat:pagination
Jun 20, 2025
Merged

Add proper pagination#16
s-heppner merged 7 commits into
eclipse-basyx:serverfrom
rwth-iat:pagination

Conversation

@JAB1305

@JAB1305 JAB1305 commented Jun 18, 2025

Copy link
Copy Markdown
Contributor

In the original implementation basic limits on request were supported with the @limited decorator.

These changes improve pagination to support cursors as specified, providing a proper (basic) pagination with client side cursor handling.

@s-heppner s-heppner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Other than these small style fixes, this LGTM. Thank you!

Comment thread api/server/routes/aas.py Outdated
Comment thread api/server/routes/submodel.py Outdated
Comment thread api/server/routes/submodel.py
Comment thread api/test/examples/empty_paged_result.json Outdated
Comment thread api/test/examples/submodel/submodel2.json Outdated
@s-heppner s-heppner merged commit 36c44c7 into eclipse-basyx:server Jun 20, 2025
8 checks passed
@s-heppner s-heppner deleted the pagination branch June 20, 2025 15:30
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