Skip to content

feat(pagination): add missing parameters#85

Merged
jonperron merged 1 commit into
mainfrom
feat/missing_arguments
Nov 10, 2025
Merged

feat(pagination): add missing parameters#85
jonperron merged 1 commit into
mainfrom
feat/missing_arguments

Conversation

@jonperron

@jonperron jonperron commented Nov 10, 2025

Copy link
Copy Markdown
Owner

Changelog:

  • Update Arrivals API
  • Update Departures API
  • Update Stop Schedules API
  • Update Route Schedules API
  • Update Terminus Schedules API
  • Update documentation

Fix #81

@jonperron jonperron added this to the 1.3.0 milestone Nov 10, 2025
@jonperron jonperron requested a review from Copilot November 10, 2025 07:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds pagination parameters to multiple schedule and arrival/departure API methods to enable better control over result sets. The changes add count and start_page parameters to allow callers to specify the maximum number of results and starting page for pagination.

  • Adds count parameter (default: 10) to limit the number of results returned
  • Adds start_page parameter (default: 0) to specify the starting page for pagination in schedule APIs
  • Updates function signatures, documentation, and parameter dictionaries consistently

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
terminus_schedules_apis.py Adds count and start_page parameters to both list methods
stop_schedules_apis.py Adds count and start_page parameters to both list methods
route_schedules_apis.py Adds count and start_page parameters to both list methods
departure_apis.py Adds only count parameter to both list methods
arrival_apis.py Adds only count parameter to both list methods

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread navitia_client/client/apis/departure_apis.py
Comment thread navitia_client/client/apis/departure_apis.py
Comment thread navitia_client/client/apis/arrival_apis.py
Comment thread navitia_client/client/apis/arrival_apis.py
Changelog:
* Update Arrivals API
* Update Departures API
* Update Stop Schedules API
* Update Route Schedules API
* Update Terminus Schedules API
* Update documentation
@jonperron jonperron force-pushed the feat/missing_arguments branch from 3be6a5f to 8a1dd99 Compare November 10, 2025 07:42
@jonperron jonperron merged commit f228c83 into main Nov 10, 2025
5 checks passed
@jonperron jonperron deleted the feat/missing_arguments branch November 10, 2025 07:44
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.

Add missing pagination parameters

2 participants