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

Changed V1File implementation to pass content_type in options #1382

Merged

Conversation

prathmesh-stripe
Copy link
Contributor

V1Files is no longer treated as a separate API mode. We now pass it as part of request options from resources and service methods.

@prathmesh-stripe prathmesh-stripe merged commit 2326675 into master Aug 28, 2024
15 checks passed
@prathmesh-stripe prathmesh-stripe deleted the prathmesh_python_replace_v1_file_with_overrides branch August 28, 2024 18:29
prathmesh-stripe added a commit that referenced this pull request Aug 29, 2024
…ual methods (#1384)

* Changed V1File implementation to pass content_type in options (#1382)

* No need for api_mode to be passed around from individual API methods (#1383)

* Generated code

* We have separate tests for preview mode

* Remove unused import

---------

Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>
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.

2 participants