Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update class custom methods to save list object parameters. #757

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

dcr-stripe
Copy link
Contributor

r? @yejia-stripe

Summary

Updates the implementation for class-level custom methods which return list objects to set _retrieve_params to make sure iteration continues with the same input set of parameters.

Motivation

Fixes #755 in conjunction with #756.

Test plan

I added a test which previously failed and now passes.

@stripe-ci stripe-ci assigned dcr-stripe and unassigned yejia-stripe Dec 21, 2021
@dcr-stripe dcr-stripe merged commit a650e5b into master Dec 21, 2021
@dcr-stripe dcr-stripe deleted the dcr-class-custom-methods branch December 21, 2021 16:09
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.

Customer.list_payment_methods with auto_paging_iter does not respect initial parameters
2 participants