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

Always return the result of APIResource#refresh in APIResource.retrieve #1473

Merged
merged 2 commits into from
Oct 23, 2024

Commits on Oct 23, 2024

  1. Always return the result of .refresh in .retrieve

    With the refactor of v13, there are now cases where `self` is not
    mutated in the call to refresh and instead a new object is returned.
    This change ensures that the new object is always returned by returning
    the result of refresh instead.
    AnotherJoSmith committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    5face29 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b094d7 View commit details
    Browse the repository at this point in the history