Skip to content

fix: Historically a value of maxResults resulted in fetching everything - by explicitly checking that maxResults is 0 or False this behaviour was changed. - #2446

Open
dbaxa wants to merge 1 commit into
mainfrom
simplify-the-max-results-code
Open

dbaxa wants to merge 1 commit into
mainfrom
simplify-the-max-results-code

Conversation

@dbaxa

@dbaxa dbaxa commented Sep 22, 2026

Copy link
Copy Markdown
Member

Historically a value of maxResults resulted in fetching everything - y explicitly checking that maxResults is 0 or False this behaviour was changed by explicitly checking that maxResults is 0 or False this behaviour was changed.

Yes type checking should mostly prevent passing a None value for maxResults but we can simplify the check - any false like value for maxResults should result in fetching everything.

…by explicitly checking that maxResults is 0 or False this behaviour was changed.

Yes type checking should mostly prevent passing a None value for maxResults but we can simplify the check - any false like value for maxResults should result in fetching everything.

Signed-off-by: David Black <dblack@atlassian.com>
@dbaxa
dbaxa requested a review from a team as a code owner September 22, 2026 07:06
@dbaxa
dbaxa requested a review from adehad September 22, 2026 07:06
@github-actions

Copy link
Copy Markdown

Label error. Requires at least 1 of: breaking, chore, feat, fix. Found: . Follow https://www.conventionalcommits.org to get auto-labeling to work correctly.

@dbaxa dbaxa changed the title Historically a value of maxResults resulted in fetching everything - by explicitly checking that maxResults is 0 or False this behaviour was changed. chore: Historically a value of maxResults resulted in fetching everything - by explicitly checking that maxResults is 0 or False this behaviour was changed. Sep 22, 2026
@dbaxa dbaxa changed the title chore: Historically a value of maxResults resulted in fetching everything - by explicitly checking that maxResults is 0 or False this behaviour was changed. fix: Historically a value of maxResults resulted in fetching everything - by explicitly checking that maxResults is 0 or False this behaviour was changed. Sep 22, 2026

This branch was successfully deployed

2 active deployments
cloud — d1468ba3 Deployed Sep 22, 2026 by dbaxa via cloud / py3.10 #1966
check — d1468ba3 Deployed Sep 22, 2026 by dbaxa via check #1114
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.

1 participant