Update Pinterest Generated Client for urllib3 2.x Compatibility #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update the Pinterest Generated Client library to support urllib3 2.x and fix CBO (Campaign Budget Optimization) test failures.
Changes Made
1. Fixed Integration Test CBO Configuration
integration_test/base.pyis_campaign_budget_optimization=False→is_campaign_budget_optimization=True2. urllib3 Version Compatibility
urllib3>=1.26,<3requirements.txt,setup.py3. Fixed urllib3 Deprecation Warnings
spec/patches/fix_urllib3_deprecations.pyopenapi_generated/pinterest_client/rest.pyopenapi_generated/pinterest_client/api_client.pyopenapi_generated/pinterest_client/exceptions.py4. Increment version and autogenerated
Test