-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not terminate listing for token-based pagination resources on empt…
…y response (#530) ## Changes It is allowed for list APIs to return less than the number of resources in the page_size limit in a response. In case no items are returned but there are still items to list, we should continue to list resources until no next_page_token is included in the response. This matches the logic from the Go SDK: https://github.com/databricks/databricks-sdk-go/blob/main/.codegen/api.go.tmpl#L275-L294 ## Tests - [x] Nightly tests pass.
- Loading branch information
Showing
13 changed files
with
166 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.