payi 0.1.0a52__tar.gz → 0.1.0a55__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of payi might be problematic. Click here for more details.
- payi-0.1.0a55/.release-please-manifest.json +3 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/CHANGELOG.md +205 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/PKG-INFO +26 -5
- {payi-0.1.0a52 → payi-0.1.0a55}/README.md +23 -1
- {payi-0.1.0a52 → payi-0.1.0a55}/SECURITY.md +2 -2
- payi-0.1.0a55/bin/publish-pypi +6 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/pyproject.toml +2 -4
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_base_client.py +9 -98
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_client.py +2 -2
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_models.py +5 -2
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_version.py +1 -1
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/lib/helpers.py +12 -1
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/ingest.py +50 -8
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/ingest_bulk_params.py +2 -2
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/test_ingest.py +80 -38
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_models.py +32 -0
- payi-0.1.0a52/.release-please-manifest.json +0 -3
- payi-0.1.0a52/bin/publish-pypi +0 -9
- {payi-0.1.0a52 → payi-0.1.0a55}/.gitignore +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/CONTRIBUTING.md +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/LICENSE +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/api.md +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/bin/check-release-environment +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/examples/.keep +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/mypy.ini +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/noxfile.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/release-please-config.json +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/requirements-dev.lock +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/requirements.lock +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_compat.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_constants.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_exceptions.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_files.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_qs.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_resource.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_streaming.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_types.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_utils/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_utils/_logs.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_utils/_proxy.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_utils/_reflection.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_utils/_streams.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_utils/_sync.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_utils/_transform.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_utils/_typing.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/_utils/_utils.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/lib/.keep +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/lib/AnthropicInstrumentor.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/lib/BedrockInstrumentor.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/lib/OpenAIInstrumentor.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/lib/Stopwatch.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/lib/instrument.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/py.typed +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/billing_models.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/categories/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/categories/categories.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/categories/resources.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/experiences/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/experiences/experiences.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/experiences/properties.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/experiences/types/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/experiences/types/limit_config.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/experiences/types/types.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/limits/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/limits/limits.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/limits/tags.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/price_modifiers.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/requests/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/requests/properties.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/requests/requests.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/resources/requests/result.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/billing_model.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/billing_model_create_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/billing_model_list_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/billing_model_update_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/bulk_ingest_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/categories/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/categories/resource_create_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/categories/resource_list_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/category_delete_resource_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/category_delete_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/category_list_resources_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/category_list_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/category_resource_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/category_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/cost_data.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/cost_details.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/default_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/experience_instance_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/experiences/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/experiences/experience_type.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/experiences/properties_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/experiences/property_create_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/experiences/type_create_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/experiences/type_list_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/experiences/type_list_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/experiences/type_update_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/experiences/types/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/experiences/types/limit_config_create_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/ingest_event_param.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/ingest_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/ingest_units_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limit_create_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limit_history_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limit_list_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limit_reset_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limit_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limit_update_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limits/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limits/limit_tags.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limits/tag_create_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limits/tag_create_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limits/tag_delete_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limits/tag_list_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limits/tag_remove_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limits/tag_remove_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limits/tag_update_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/limits/tag_update_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/paged_limit_list.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/pay_i_common_models_api_router_header_info_param.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/price_modifier.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/price_modifier_create_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/price_modifier_retrieve_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/price_modifier_update_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/requests/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/requests/property_create_params.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/requests/request_result.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/requests_data.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/shared/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/shared/evaluation_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/shared/pay_i_common_models_budget_management_cost_details_base.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/src/payi/types/total_cost_data.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/categories/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/categories/test_resources.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/experiences/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/experiences/test_properties.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/experiences/test_types.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/experiences/types/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/experiences/types/test_limit_config.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/limits/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/limits/test_tags.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/requests/__init__.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/requests/test_properties.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/requests/test_result.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/test_billing_models.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/test_categories.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/test_experiences.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/test_limits.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/api_resources/test_price_modifiers.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/conftest.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/sample_file.txt +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_client.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_deepcopy.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_extract_files.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_files.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_qs.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_required_args.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_response.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_streaming.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_transform.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_utils/test_proxy.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/test_utils/test_typing.py +0 -0
- {payi-0.1.0a52 → payi-0.1.0a55}/tests/utils.py +0 -0
|
@@ -1,5 +1,210 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.55 (2025-03-19)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.54...v0.1.0-alpha.55](https://github.com/Pay-i/pay-i-python/compare/v0.1.0-alpha.54...v0.1.0-alpha.55)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **ci:** remove publishing patch ([#257](https://github.com/Pay-i/pay-i-python/issues/257)) ([0c5bfb4](https://github.com/Pay-i/pay-i-python/commit/0c5bfb4725777b366fb50199209f4e8a50711ad9))
|
|
10
|
+
|
|
11
|
+
## 0.1.0-alpha.54 (2025-03-17)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.1.0-alpha.53...v0.1.0-alpha.54](https://github.com/Pay-i/pay-i-python/compare/v0.1.0-alpha.53...v0.1.0-alpha.54)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **ci:** ensure pip is always available ([#256](https://github.com/Pay-i/pay-i-python/issues/256)) ([13c3e2c](https://github.com/Pay-i/pay-i-python/commit/13c3e2c3c83f97bc0add1a7e670113e609e3c5d1))
|
|
18
|
+
* **types:** handle more discriminated union shapes ([#255](https://github.com/Pay-i/pay-i-python/issues/255)) ([be986f1](https://github.com/Pay-i/pay-i-python/commit/be986f12ea82af0a7a51e7b08803758381050086))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Chores
|
|
22
|
+
|
|
23
|
+
* **internal:** bump rye to 0.44.0 ([#254](https://github.com/Pay-i/pay-i-python/issues/254)) ([789c413](https://github.com/Pay-i/pay-i-python/commit/789c413b306c96905507c1b4de8c835cc484b2b8))
|
|
24
|
+
* **internal:** remove extra empty newlines ([#252](https://github.com/Pay-i/pay-i-python/issues/252)) ([8b33100](https://github.com/Pay-i/pay-i-python/commit/8b33100d0fee1693e3adc9fc6c652bd4150a2642))
|
|
25
|
+
* **internal:** remove unused http client options forwarding ([#248](https://github.com/Pay-i/pay-i-python/issues/248)) ([5f7bf7b](https://github.com/Pay-i/pay-i-python/commit/5f7bf7b9d3745fd3d63c49502bbc9b63ff8cd333))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Documentation
|
|
29
|
+
|
|
30
|
+
* revise readme docs about nested params ([#250](https://github.com/Pay-i/pay-i-python/issues/250)) ([19c655d](https://github.com/Pay-i/pay-i-python/commit/19c655d13bbe82916c599a5b9f8292057f7b4b0e))
|
|
31
|
+
|
|
32
|
+
## 0.1.0-alpha.53 (2025-03-01)
|
|
33
|
+
|
|
34
|
+
Full Changelog: [v0.1.0-alpha.52...v0.1.0-alpha.53](https://github.com/pay-i/pay-i-python/compare/v0.1.0-alpha.52...v0.1.0-alpha.53)
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **api:** add Evaluations ([#114](https://github.com/pay-i/pay-i-python/issues/114)) ([9a4a952](https://github.com/pay-i/pay-i-python/commit/9a4a952e5ff57dd869d1bfb35203400eb9e39d38))
|
|
39
|
+
* **api:** api update ([#121](https://github.com/pay-i/pay-i-python/issues/121)) ([4bba6ed](https://github.com/pay-i/pay-i-python/commit/4bba6ed2a6ed1f3b1244e6c78b63d5b3b6e1b527))
|
|
40
|
+
* **api:** api update ([#124](https://github.com/pay-i/pay-i-python/issues/124)) ([6024da4](https://github.com/pay-i/pay-i-python/commit/6024da433b9a7632a34b6566a895d0888d6550ea))
|
|
41
|
+
* **api:** api update ([#125](https://github.com/pay-i/pay-i-python/issues/125)) ([3ed2431](https://github.com/pay-i/pay-i-python/commit/3ed24317882624c96d3dceba89c4a2b91109bc05))
|
|
42
|
+
* **api:** api update ([#127](https://github.com/pay-i/pay-i-python/issues/127)) ([f9f8665](https://github.com/pay-i/pay-i-python/commit/f9f8665278eec1f3b4d081076047460004230a97))
|
|
43
|
+
* **api:** azure openai ([#215](https://github.com/pay-i/pay-i-python/issues/215)) ([fb85b22](https://github.com/pay-i/pay-i-python/commit/fb85b22a598b5b7d3b98b60f788436af031a56dc))
|
|
44
|
+
* **api:** manual updates ([#118](https://github.com/pay-i/pay-i-python/issues/118)) ([cf70992](https://github.com/pay-i/pay-i-python/commit/cf70992e8971e555802517035eba64acef38e00e))
|
|
45
|
+
* **api:** update via SDK Studio ([ba34638](https://github.com/pay-i/pay-i-python/commit/ba3463802b7366b450058f6ccdb13419b3bdbfe1))
|
|
46
|
+
* **api:** update via SDK Studio ([d627f6a](https://github.com/pay-i/pay-i-python/commit/d627f6a3394dc096463d6228272a8a81c4c1d4b4))
|
|
47
|
+
* **api:** update via SDK Studio ([d87c30c](https://github.com/pay-i/pay-i-python/commit/d87c30c4d5c3d7dee3a4b96596c8df9e319ca690))
|
|
48
|
+
* **api:** update via SDK Studio ([ea31540](https://github.com/pay-i/pay-i-python/commit/ea315409811b1b3541c93852e22a4dd5f71be7e7))
|
|
49
|
+
* **api:** update via SDK Studio ([96d12c3](https://github.com/pay-i/pay-i-python/commit/96d12c3c114642a13469ece184eaec8feee50b1a))
|
|
50
|
+
* **api:** update via SDK Studio ([4b2a9a7](https://github.com/pay-i/pay-i-python/commit/4b2a9a7dd2652b6f894a6409f1d2fe9fb3baeeb2))
|
|
51
|
+
* **api:** update via SDK Studio ([ba169b1](https://github.com/pay-i/pay-i-python/commit/ba169b1e70894cb2a2f0497e4781121a334716cd))
|
|
52
|
+
* **api:** update via SDK Studio ([4705b16](https://github.com/pay-i/pay-i-python/commit/4705b16b08f5e1ea678c4c36385ca5f1a7f2f42b))
|
|
53
|
+
* **api:** update via SDK Studio ([#100](https://github.com/pay-i/pay-i-python/issues/100)) ([9e0f07b](https://github.com/pay-i/pay-i-python/commit/9e0f07bec54cbefc0fb45bf81cdee8d812363d81))
|
|
54
|
+
* **api:** update via SDK Studio ([#100](https://github.com/pay-i/pay-i-python/issues/100)) ([923fee3](https://github.com/pay-i/pay-i-python/commit/923fee31f30f15341eb78739e745f62d8961ee53))
|
|
55
|
+
* **api:** update via SDK Studio ([#103](https://github.com/pay-i/pay-i-python/issues/103)) ([0087070](https://github.com/pay-i/pay-i-python/commit/0087070a5a3b51c14d396cafef7c7bb0eda034aa))
|
|
56
|
+
* **api:** update via SDK Studio ([#103](https://github.com/pay-i/pay-i-python/issues/103)) ([48d8eb1](https://github.com/pay-i/pay-i-python/commit/48d8eb1c02216e9d170c219225d2f3374afbaa8e))
|
|
57
|
+
* **api:** update via SDK Studio ([#109](https://github.com/pay-i/pay-i-python/issues/109)) ([0f9abb8](https://github.com/pay-i/pay-i-python/commit/0f9abb871884c83310bcb05dd9485b7a285fcfb3))
|
|
58
|
+
* **api:** update via SDK Studio ([#111](https://github.com/pay-i/pay-i-python/issues/111)) ([c5ab397](https://github.com/pay-i/pay-i-python/commit/c5ab3978fc2285d274a7d4053d46a9b7fbaeec6f))
|
|
59
|
+
* **api:** update via SDK Studio ([#13](https://github.com/pay-i/pay-i-python/issues/13)) ([c35a02e](https://github.com/pay-i/pay-i-python/commit/c35a02e163c67c320566bc77fb24bb6cdd8b4bf6))
|
|
60
|
+
* **api:** update via SDK Studio ([#13](https://github.com/pay-i/pay-i-python/issues/13)) ([0728463](https://github.com/pay-i/pay-i-python/commit/0728463f05f5a34803774a377c3bc30c19055bc3))
|
|
61
|
+
* **api:** update via SDK Studio ([#21](https://github.com/pay-i/pay-i-python/issues/21)) ([daa4259](https://github.com/pay-i/pay-i-python/commit/daa4259dc2156dd84843d3264362a6a53ee842c4))
|
|
62
|
+
* **api:** update via SDK Studio ([#21](https://github.com/pay-i/pay-i-python/issues/21)) ([544adf9](https://github.com/pay-i/pay-i-python/commit/544adf927f8c2418355a839976f87e77668a6c28))
|
|
63
|
+
* **api:** update via SDK Studio ([#23](https://github.com/pay-i/pay-i-python/issues/23)) ([5c2aa35](https://github.com/pay-i/pay-i-python/commit/5c2aa35b45c18fb194b4055884d3abded49aad1e))
|
|
64
|
+
* **api:** update via SDK Studio ([#23](https://github.com/pay-i/pay-i-python/issues/23)) ([9f4fe9d](https://github.com/pay-i/pay-i-python/commit/9f4fe9d46059757afe180fbb92046b11433439b8))
|
|
65
|
+
* **api:** update via SDK Studio ([#25](https://github.com/pay-i/pay-i-python/issues/25)) ([9712710](https://github.com/pay-i/pay-i-python/commit/9712710b0ab67462295a3f7531e3b034a91dc094))
|
|
66
|
+
* **api:** update via SDK Studio ([#25](https://github.com/pay-i/pay-i-python/issues/25)) ([18b8e3f](https://github.com/pay-i/pay-i-python/commit/18b8e3f19bcca7bdde1a01d6cd1c4a50c7d6ec7e))
|
|
67
|
+
* **api:** update via SDK Studio ([#26](https://github.com/pay-i/pay-i-python/issues/26)) ([eebd44e](https://github.com/pay-i/pay-i-python/commit/eebd44e55d800da8cf7b9a01108e78a3446d1283))
|
|
68
|
+
* **api:** update via SDK Studio ([#26](https://github.com/pay-i/pay-i-python/issues/26)) ([1fdcbf7](https://github.com/pay-i/pay-i-python/commit/1fdcbf764fdcdd5ab37fc1ba772d6c263e7aafd9))
|
|
69
|
+
* **api:** update via SDK Studio ([#28](https://github.com/pay-i/pay-i-python/issues/28)) ([972e5e3](https://github.com/pay-i/pay-i-python/commit/972e5e3b8c84df6d3b47ba2dba4137151d9e414c))
|
|
70
|
+
* **api:** update via SDK Studio ([#28](https://github.com/pay-i/pay-i-python/issues/28)) ([6809f97](https://github.com/pay-i/pay-i-python/commit/6809f9771faec4ee541dda53854871c8ff1b41db))
|
|
71
|
+
* **api:** update via SDK Studio ([#30](https://github.com/pay-i/pay-i-python/issues/30)) ([3334f89](https://github.com/pay-i/pay-i-python/commit/3334f89029ba31d70aa759d367be32888a77b603))
|
|
72
|
+
* **api:** update via SDK Studio ([#30](https://github.com/pay-i/pay-i-python/issues/30)) ([3e3bbf2](https://github.com/pay-i/pay-i-python/commit/3e3bbf2eac46d39465dbd13768f218ff7b7a3ba9))
|
|
73
|
+
* **api:** update via SDK Studio ([#34](https://github.com/pay-i/pay-i-python/issues/34)) ([f05bc0e](https://github.com/pay-i/pay-i-python/commit/f05bc0ee6357f32724b3199ea92aa8f5c17723e1))
|
|
74
|
+
* **api:** update via SDK Studio ([#34](https://github.com/pay-i/pay-i-python/issues/34)) ([f40cf18](https://github.com/pay-i/pay-i-python/commit/f40cf18b24fa5ea12eba307fb101c02b626814d3))
|
|
75
|
+
* **api:** update via SDK Studio ([#37](https://github.com/pay-i/pay-i-python/issues/37)) ([b794015](https://github.com/pay-i/pay-i-python/commit/b7940155a65297fda08c4022417a2d78ced5ee3f))
|
|
76
|
+
* **api:** update via SDK Studio ([#37](https://github.com/pay-i/pay-i-python/issues/37)) ([123f681](https://github.com/pay-i/pay-i-python/commit/123f681c2a77810f4cbbe208cdb38e6c77138113))
|
|
77
|
+
* **api:** update via SDK Studio ([#39](https://github.com/pay-i/pay-i-python/issues/39)) ([924942e](https://github.com/pay-i/pay-i-python/commit/924942ed83577f9d6d6bc9709d22e5423a2c50b4))
|
|
78
|
+
* **api:** update via SDK Studio ([#39](https://github.com/pay-i/pay-i-python/issues/39)) ([1eae9e4](https://github.com/pay-i/pay-i-python/commit/1eae9e45e1568de115db588000310cf1f531a324))
|
|
79
|
+
* **api:** update via SDK Studio ([#4](https://github.com/pay-i/pay-i-python/issues/4)) ([08bb37c](https://github.com/pay-i/pay-i-python/commit/08bb37c7ab580b1c0d6adf12f3745191e9023455))
|
|
80
|
+
* **api:** update via SDK Studio ([#4](https://github.com/pay-i/pay-i-python/issues/4)) ([20a797a](https://github.com/pay-i/pay-i-python/commit/20a797a8b7f901d95b04db96976752d1804ce8c0))
|
|
81
|
+
* **api:** update via SDK Studio ([#41](https://github.com/pay-i/pay-i-python/issues/41)) ([5fb515c](https://github.com/pay-i/pay-i-python/commit/5fb515c9399354230bda965857e2dfa090db83b7))
|
|
82
|
+
* **api:** update via SDK Studio ([#41](https://github.com/pay-i/pay-i-python/issues/41)) ([1985ab9](https://github.com/pay-i/pay-i-python/commit/1985ab99496621510dfcfd8395acd572ebede0bf))
|
|
83
|
+
* **api:** update via SDK Studio ([#42](https://github.com/pay-i/pay-i-python/issues/42)) ([acfca49](https://github.com/pay-i/pay-i-python/commit/acfca49e245ef237ca1459f3e80c77e883a7fa4a))
|
|
84
|
+
* **api:** update via SDK Studio ([#42](https://github.com/pay-i/pay-i-python/issues/42)) ([b1cfc00](https://github.com/pay-i/pay-i-python/commit/b1cfc00450982df67ad628df833666e47c9cb922))
|
|
85
|
+
* **api:** update via SDK Studio ([#44](https://github.com/pay-i/pay-i-python/issues/44)) ([8623402](https://github.com/pay-i/pay-i-python/commit/86234024530b7a6b26508c65aad280a3a0fc33c3))
|
|
86
|
+
* **api:** update via SDK Studio ([#44](https://github.com/pay-i/pay-i-python/issues/44)) ([4d66c91](https://github.com/pay-i/pay-i-python/commit/4d66c91473c5cf39a0e1fcaf192a7e9239e7551a))
|
|
87
|
+
* **api:** update via SDK Studio ([#45](https://github.com/pay-i/pay-i-python/issues/45)) ([8129c56](https://github.com/pay-i/pay-i-python/commit/8129c56fe00cc676e56e8318533b98be3234cf8f))
|
|
88
|
+
* **api:** update via SDK Studio ([#45](https://github.com/pay-i/pay-i-python/issues/45)) ([120e341](https://github.com/pay-i/pay-i-python/commit/120e341ab6b296ca13ed387b6895da49a1076620))
|
|
89
|
+
* **api:** update via SDK Studio ([#48](https://github.com/pay-i/pay-i-python/issues/48)) ([5b67542](https://github.com/pay-i/pay-i-python/commit/5b6754279d6b6dcb3b65bda1bf59b0d0092b4bec))
|
|
90
|
+
* **api:** update via SDK Studio ([#48](https://github.com/pay-i/pay-i-python/issues/48)) ([aa5c97a](https://github.com/pay-i/pay-i-python/commit/aa5c97a956fb46f8862706923da7b39415f4e578))
|
|
91
|
+
* **api:** update via SDK Studio ([#50](https://github.com/pay-i/pay-i-python/issues/50)) ([91c7d2c](https://github.com/pay-i/pay-i-python/commit/91c7d2c29430835dfee501520d8b247755e1679d))
|
|
92
|
+
* **api:** update via SDK Studio ([#50](https://github.com/pay-i/pay-i-python/issues/50)) ([84867e5](https://github.com/pay-i/pay-i-python/commit/84867e5209e8d03cef6793fd6d1c54818bb67314))
|
|
93
|
+
* **api:** update via SDK Studio ([#57](https://github.com/pay-i/pay-i-python/issues/57)) ([8d6ce22](https://github.com/pay-i/pay-i-python/commit/8d6ce2229764aeaac2b0229cb70266545759cc7d))
|
|
94
|
+
* **api:** update via SDK Studio ([#57](https://github.com/pay-i/pay-i-python/issues/57)) ([d074560](https://github.com/pay-i/pay-i-python/commit/d074560cf02cbdef5e06e3e2163d2d48e4d2286e))
|
|
95
|
+
* **api:** update via SDK Studio ([#58](https://github.com/pay-i/pay-i-python/issues/58)) ([013389a](https://github.com/pay-i/pay-i-python/commit/013389a52fc87312e7173c34c3f27256e52b7ed5))
|
|
96
|
+
* **api:** update via SDK Studio ([#58](https://github.com/pay-i/pay-i-python/issues/58)) ([4d42f05](https://github.com/pay-i/pay-i-python/commit/4d42f05de13c9f91b0c0805b9d279b3da38aa3d4))
|
|
97
|
+
* **api:** update via SDK Studio ([#59](https://github.com/pay-i/pay-i-python/issues/59)) ([9f895e6](https://github.com/pay-i/pay-i-python/commit/9f895e649a06a9000b1da8ab4a0b2fb779b09db9))
|
|
98
|
+
* **api:** update via SDK Studio ([#59](https://github.com/pay-i/pay-i-python/issues/59)) ([04195a2](https://github.com/pay-i/pay-i-python/commit/04195a2776d85d1904b56771fafb7463a930a6ca))
|
|
99
|
+
* **api:** update via SDK Studio ([#63](https://github.com/pay-i/pay-i-python/issues/63)) ([a38f132](https://github.com/pay-i/pay-i-python/commit/a38f132cdbbbcac2c235c71cd758c38631b12a57))
|
|
100
|
+
* **api:** update via SDK Studio ([#63](https://github.com/pay-i/pay-i-python/issues/63)) ([1c0b056](https://github.com/pay-i/pay-i-python/commit/1c0b056f561228c80f27003206f834075e0d096c))
|
|
101
|
+
* **api:** update via SDK Studio ([#65](https://github.com/pay-i/pay-i-python/issues/65)) ([d32f303](https://github.com/pay-i/pay-i-python/commit/d32f3032d3cb5854617e65e9766447d8ea08f41c))
|
|
102
|
+
* **api:** update via SDK Studio ([#65](https://github.com/pay-i/pay-i-python/issues/65)) ([1b2a13c](https://github.com/pay-i/pay-i-python/commit/1b2a13ce216a7f63f13f921df2114e0218fe9d3a))
|
|
103
|
+
* **api:** update via SDK Studio ([#66](https://github.com/pay-i/pay-i-python/issues/66)) ([990a0cb](https://github.com/pay-i/pay-i-python/commit/990a0cbcfb381f6f72530d869a7beaae6f9fed2d))
|
|
104
|
+
* **api:** update via SDK Studio ([#66](https://github.com/pay-i/pay-i-python/issues/66)) ([fc7bbf2](https://github.com/pay-i/pay-i-python/commit/fc7bbf2b6314cffa670bd869b5d5395bbc053021))
|
|
105
|
+
* **api:** update via SDK Studio ([#67](https://github.com/pay-i/pay-i-python/issues/67)) ([b720656](https://github.com/pay-i/pay-i-python/commit/b72065621d50902959a484a5fe4c05051a5e2caa))
|
|
106
|
+
* **api:** update via SDK Studio ([#67](https://github.com/pay-i/pay-i-python/issues/67)) ([a8a76c2](https://github.com/pay-i/pay-i-python/commit/a8a76c2e6c3e377085c6bc73c46518885abd7ea6))
|
|
107
|
+
* **api:** update via SDK Studio ([#79](https://github.com/pay-i/pay-i-python/issues/79)) ([b7a562e](https://github.com/pay-i/pay-i-python/commit/b7a562ed5f6051fd797ac76087ef095e8c73a8bc))
|
|
108
|
+
* **api:** update via SDK Studio ([#79](https://github.com/pay-i/pay-i-python/issues/79)) ([4b7fa83](https://github.com/pay-i/pay-i-python/commit/4b7fa83674ad3057430f63006b847d43fe09ccbd))
|
|
109
|
+
* **api:** update via SDK Studio ([#83](https://github.com/pay-i/pay-i-python/issues/83)) ([c78b273](https://github.com/pay-i/pay-i-python/commit/c78b273d807606abe94212e0092eff80895da96d))
|
|
110
|
+
* **api:** update via SDK Studio ([#83](https://github.com/pay-i/pay-i-python/issues/83)) ([5674b66](https://github.com/pay-i/pay-i-python/commit/5674b66b718995e019245f7814b49abaed0952d8))
|
|
111
|
+
* **api:** update via SDK Studio ([#86](https://github.com/pay-i/pay-i-python/issues/86)) ([ea1bc86](https://github.com/pay-i/pay-i-python/commit/ea1bc86c6a3671b49ba7394841b5534d7e8c0263))
|
|
112
|
+
* **api:** update via SDK Studio ([#86](https://github.com/pay-i/pay-i-python/issues/86)) ([a140791](https://github.com/pay-i/pay-i-python/commit/a140791293fbd15f1c57e2c4f298b3a43e41eb8d))
|
|
113
|
+
* **api:** update via SDK Studio ([#89](https://github.com/pay-i/pay-i-python/issues/89)) ([b031428](https://github.com/pay-i/pay-i-python/commit/b03142879e9d1798d08288578d078eab98e86353))
|
|
114
|
+
* **api:** update via SDK Studio ([#89](https://github.com/pay-i/pay-i-python/issues/89)) ([3f58f9c](https://github.com/pay-i/pay-i-python/commit/3f58f9cbcb3ab3f92020473e8125ba7162a25e8f))
|
|
115
|
+
* **api:** update via SDK Studio ([#94](https://github.com/pay-i/pay-i-python/issues/94)) ([d3cd372](https://github.com/pay-i/pay-i-python/commit/d3cd3729991f4d0a8882f28f7ad42ebff73866eb))
|
|
116
|
+
* **api:** update via SDK Studio ([#94](https://github.com/pay-i/pay-i-python/issues/94)) ([c7b9be6](https://github.com/pay-i/pay-i-python/commit/c7b9be6453a6008295272e2029a97f2efec80c08))
|
|
117
|
+
* change ingest bugdet_ids and request_tags from str -> list[str] ([bb70818](https://github.com/pay-i/pay-i-python/commit/bb7081850e14648db2ad753a0aef461cdd7b1940))
|
|
118
|
+
* **client:** add `retry_count` to raw response class ([#71](https://github.com/pay-i/pay-i-python/issues/71)) ([88fdd1d](https://github.com/pay-i/pay-i-python/commit/88fdd1df022c74e173db8697659dfba937f73be7))
|
|
119
|
+
* **client:** add `retry_count` to raw response class ([#71](https://github.com/pay-i/pay-i-python/issues/71)) ([506c9b8](https://github.com/pay-i/pay-i-python/commit/506c9b8bbcebb06b152d1f387604076e93ad0ae5))
|
|
120
|
+
* **client:** allow passing `NotGiven` for body ([#241](https://github.com/pay-i/pay-i-python/issues/241)) ([aed3b1b](https://github.com/pay-i/pay-i-python/commit/aed3b1b662a84e12f9ada2016c624c2e8ca4e831))
|
|
121
|
+
* fix ([cffc96b](https://github.com/pay-i/pay-i-python/commit/cffc96b700565b99a9d1b171e7aa820a3a41fb0a))
|
|
122
|
+
* ingest support for resource scope ([17c7435](https://github.com/pay-i/pay-i-python/commit/17c74350cc89c685e705a3d98936058f45c9e357))
|
|
123
|
+
* OpenAI embeddings instrumentation ([c43026c](https://github.com/pay-i/pay-i-python/commit/c43026c72c78a60dddc4ba9c886ad03ec32cee0a))
|
|
124
|
+
* test rename of autogenerated parameter name ([53b0e7d](https://github.com/pay-i/pay-i-python/commit/53b0e7dd2f37573d9683c4aa0c3a86de6d0e3dea))
|
|
125
|
+
* update types and tests ([02af29a](https://github.com/pay-i/pay-i-python/commit/02af29aa209c434083c3ea335ccfc80450deda8c))
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### Bug Fixes
|
|
129
|
+
|
|
130
|
+
* **api:** manual update ([#112](https://github.com/pay-i/pay-i-python/issues/112)) ([bbf745c](https://github.com/pay-i/pay-i-python/commit/bbf745cec5425e0220b410f9a56ea7cdae191935))
|
|
131
|
+
* **client:** correctly serialise array body params ([#77](https://github.com/pay-i/pay-i-python/issues/77)) ([e3770e4](https://github.com/pay-i/pay-i-python/commit/e3770e474a9279eb4f13cbd7d87480d4d6a5bc76))
|
|
132
|
+
* **client:** correctly serialise array body params ([#77](https://github.com/pay-i/pay-i-python/issues/77)) ([f3e11ea](https://github.com/pay-i/pay-i-python/commit/f3e11ea320736c5c6cc949bef6cfb2ba9c707f4c))
|
|
133
|
+
* **client:** mark some request bodies as optional ([aed3b1b](https://github.com/pay-i/pay-i-python/commit/aed3b1b662a84e12f9ada2016c624c2e8ca4e831))
|
|
134
|
+
* preserve kwargs ([c02f093](https://github.com/pay-i/pay-i-python/commit/c02f093f0a87d494a6d28e50f8845550002d5723))
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
### Chores
|
|
138
|
+
|
|
139
|
+
* **ci:** bump prism mock server version ([#91](https://github.com/pay-i/pay-i-python/issues/91)) ([6cd2937](https://github.com/pay-i/pay-i-python/commit/6cd29379f24f7a7d261ed6beea8e4833e01eacfd))
|
|
140
|
+
* **ci:** bump prism mock server version ([#91](https://github.com/pay-i/pay-i-python/issues/91)) ([32499c0](https://github.com/pay-i/pay-i-python/commit/32499c05903f3e21e23d03f787291602efbc3e5c))
|
|
141
|
+
* **ci:** limit release doctor target branches ([#54](https://github.com/pay-i/pay-i-python/issues/54)) ([926140e](https://github.com/pay-i/pay-i-python/commit/926140e37dacca0b1e4ae481ed6fb839a154ad88))
|
|
142
|
+
* **ci:** limit release doctor target branches ([#54](https://github.com/pay-i/pay-i-python/issues/54)) ([daeb25a](https://github.com/pay-i/pay-i-python/commit/daeb25a27db669eaf4f36446e9f11d77e570048b))
|
|
143
|
+
* **docs:** document how to do per-request http client customization ([#53](https://github.com/pay-i/pay-i-python/issues/53)) ([ea27182](https://github.com/pay-i/pay-i-python/commit/ea271822df7ba59dc1cafc88e610b800a162c991))
|
|
144
|
+
* **docs:** document how to do per-request http client customization ([#53](https://github.com/pay-i/pay-i-python/issues/53)) ([d7f725f](https://github.com/pay-i/pay-i-python/commit/d7f725f8e025cab8cd799b8f2a5a35a0e31ab3d4))
|
|
145
|
+
* **docs:** update client docstring ([#245](https://github.com/pay-i/pay-i-python/issues/245)) ([91f6763](https://github.com/pay-i/pay-i-python/commit/91f6763d2d62f1acc61e1903f4efe52fd5c089e7))
|
|
146
|
+
* **examples:** minor formatting changes ([#98](https://github.com/pay-i/pay-i-python/issues/98)) ([7cd8cba](https://github.com/pay-i/pay-i-python/commit/7cd8cba158668bb057c8bd154a267a9410f721b2))
|
|
147
|
+
* **examples:** minor formatting changes ([#98](https://github.com/pay-i/pay-i-python/issues/98)) ([f6ca4d9](https://github.com/pay-i/pay-i-python/commit/f6ca4d98da4a0116e4ef34ce183192ef97e9c0d5))
|
|
148
|
+
* go live ([#2](https://github.com/pay-i/pay-i-python/issues/2)) ([81ba939](https://github.com/pay-i/pay-i-python/commit/81ba93934fc18d2ac642af4ce1a7772996cb5030))
|
|
149
|
+
* go live ([#2](https://github.com/pay-i/pay-i-python/issues/2)) ([3aa3d93](https://github.com/pay-i/pay-i-python/commit/3aa3d938deef0fc099c7855d460c3b8c2c8de921))
|
|
150
|
+
* **internal:** add type construction helper ([#60](https://github.com/pay-i/pay-i-python/issues/60)) ([65303cf](https://github.com/pay-i/pay-i-python/commit/65303cf704602ece488a31e8a608be100279a1bc))
|
|
151
|
+
* **internal:** add type construction helper ([#60](https://github.com/pay-i/pay-i-python/issues/60)) ([d3d7789](https://github.com/pay-i/pay-i-python/commit/d3d77890e331aecf9810144a270de2654db5f1de))
|
|
152
|
+
* **internal:** bump pyright ([#70](https://github.com/pay-i/pay-i-python/issues/70)) ([28a35f0](https://github.com/pay-i/pay-i-python/commit/28a35f0d6412c3fd2d0b0f696b5b723069ce7b98))
|
|
153
|
+
* **internal:** bump pyright ([#70](https://github.com/pay-i/pay-i-python/issues/70)) ([872a3f2](https://github.com/pay-i/pay-i-python/commit/872a3f2642f32a930c8472f597d64a2f3912f680))
|
|
154
|
+
* **internal:** bump ruff version ([#73](https://github.com/pay-i/pay-i-python/issues/73)) ([f487b64](https://github.com/pay-i/pay-i-python/commit/f487b6409b3d6ac4eb3378e0eace4f68fbd3342f))
|
|
155
|
+
* **internal:** bump ruff version ([#73](https://github.com/pay-i/pay-i-python/issues/73)) ([1eed80d](https://github.com/pay-i/pay-i-python/commit/1eed80d723cab7c94be6c49606e9fae4a5dbc124))
|
|
156
|
+
* **internal:** codegen related update ([#106](https://github.com/pay-i/pay-i-python/issues/106)) ([2d1f2f7](https://github.com/pay-i/pay-i-python/commit/2d1f2f7db30d05b63ed85b7fe41962c6bfda2a9e))
|
|
157
|
+
* **internal:** codegen related update ([#106](https://github.com/pay-i/pay-i-python/issues/106)) ([61152c1](https://github.com/pay-i/pay-i-python/commit/61152c14d52d64cfb9aa24934635a9825d0aa5ea))
|
|
158
|
+
* **internal:** codegen related update ([#115](https://github.com/pay-i/pay-i-python/issues/115)) ([24d0e16](https://github.com/pay-i/pay-i-python/commit/24d0e160609a46b4996cc3a1a5e6d56b64a70f0c))
|
|
159
|
+
* **internal:** codegen related update ([#119](https://github.com/pay-i/pay-i-python/issues/119)) ([e1e24a4](https://github.com/pay-i/pay-i-python/commit/e1e24a454ef05ea4b25cb5e7a710f48c87613fa8))
|
|
160
|
+
* **internal:** codegen related update ([#52](https://github.com/pay-i/pay-i-python/issues/52)) ([4a469a0](https://github.com/pay-i/pay-i-python/commit/4a469a0691431fe21ca111803ca6e256978cd21b))
|
|
161
|
+
* **internal:** codegen related update ([#52](https://github.com/pay-i/pay-i-python/issues/52)) ([889648d](https://github.com/pay-i/pay-i-python/commit/889648dcf15a5c2c7467cd3e83349c15d00b3dce))
|
|
162
|
+
* **internal:** ensure package is importable in lint cmd ([#92](https://github.com/pay-i/pay-i-python/issues/92)) ([5af85e5](https://github.com/pay-i/pay-i-python/commit/5af85e57dac94be4da96b45b406e683701150365))
|
|
163
|
+
* **internal:** ensure package is importable in lint cmd ([#92](https://github.com/pay-i/pay-i-python/issues/92)) ([1d8471d](https://github.com/pay-i/pay-i-python/commit/1d8471de10eaac594109d1ab9753a0a558f53be1))
|
|
164
|
+
* **internal:** fix devcontainers setup ([#242](https://github.com/pay-i/pay-i-python/issues/242)) ([3d40475](https://github.com/pay-i/pay-i-python/commit/3d404756409540afe7446ee1373bfe4ba7fe023b))
|
|
165
|
+
* **internal:** properly set __pydantic_private__ ([#243](https://github.com/pay-i/pay-i-python/issues/243)) ([dc7c47f](https://github.com/pay-i/pay-i-python/commit/dc7c47ff1501c8c6f5b98ce72b8903895a351d08))
|
|
166
|
+
* **internal:** refactor release doctor script ([#55](https://github.com/pay-i/pay-i-python/issues/55)) ([b0a2707](https://github.com/pay-i/pay-i-python/commit/b0a2707b711baa23ee4af9152b7a3f8558ac8d09))
|
|
167
|
+
* **internal:** refactor release doctor script ([#55](https://github.com/pay-i/pay-i-python/issues/55)) ([c443bc0](https://github.com/pay-i/pay-i-python/commit/c443bc0ec90b53ad763b8795173298b72ff08080))
|
|
168
|
+
* **internal:** remove deprecated ruff config ([#85](https://github.com/pay-i/pay-i-python/issues/85)) ([744ae88](https://github.com/pay-i/pay-i-python/commit/744ae888b57aa5a424e4a4729d7c0e85776b6d08))
|
|
169
|
+
* **internal:** remove deprecated ruff config ([#85](https://github.com/pay-i/pay-i-python/issues/85)) ([bdcd6c7](https://github.com/pay-i/pay-i-python/commit/bdcd6c7cb8d83d1686f7b3ff233bb313421bb982))
|
|
170
|
+
* **internal:** test updates ([#72](https://github.com/pay-i/pay-i-python/issues/72)) ([1ded1fe](https://github.com/pay-i/pay-i-python/commit/1ded1feade7fb2ad98e2e9eb3d2a4c957146cfb8))
|
|
171
|
+
* **internal:** test updates ([#72](https://github.com/pay-i/pay-i-python/issues/72)) ([861bf08](https://github.com/pay-i/pay-i-python/commit/861bf08135ab1fa5c625d9caa4d4bbf00f96839c))
|
|
172
|
+
* **internal:** update pydantic compat helper function ([#74](https://github.com/pay-i/pay-i-python/issues/74)) ([16f34b3](https://github.com/pay-i/pay-i-python/commit/16f34b307bd097cbd0ed81328972727c3ccec581))
|
|
173
|
+
* **internal:** update pydantic compat helper function ([#74](https://github.com/pay-i/pay-i-python/issues/74)) ([35b49b8](https://github.com/pay-i/pay-i-python/commit/35b49b821537c39e5bb1177f7ad8a17b843e34e0))
|
|
174
|
+
* **internal:** update pydantic v1 compat helpers ([#117](https://github.com/pay-i/pay-i-python/issues/117)) ([598362c](https://github.com/pay-i/pay-i-python/commit/598362c8cb2c6fb7a012eec1c17ca540b1ee4a3e))
|
|
175
|
+
* **internal:** use `TypeAlias` marker for type assignments ([#69](https://github.com/pay-i/pay-i-python/issues/69)) ([eebb6e9](https://github.com/pay-i/pay-i-python/commit/eebb6e95c4e8ad497dc178099923e036644bfd4a))
|
|
176
|
+
* **internal:** use `TypeAlias` marker for type assignments ([#69](https://github.com/pay-i/pay-i-python/issues/69)) ([99c736c](https://github.com/pay-i/pay-i-python/commit/99c736ceb18de8b95d5fc812ce5eb3734d1f09f7))
|
|
177
|
+
* **internal:** version bump ([#10](https://github.com/pay-i/pay-i-python/issues/10)) ([fecdc06](https://github.com/pay-i/pay-i-python/commit/fecdc060c15567053f9278258c6e029d7ba068e5))
|
|
178
|
+
* **internal:** version bump ([#102](https://github.com/pay-i/pay-i-python/issues/102)) ([5a2e82c](https://github.com/pay-i/pay-i-python/commit/5a2e82cf92d468534b5156d6390472ef23587dc6))
|
|
179
|
+
* **internal:** version bump ([#105](https://github.com/pay-i/pay-i-python/issues/105)) ([4e7499d](https://github.com/pay-i/pay-i-python/commit/4e7499d645cce95ba8907c08a01f75290e7b4c63))
|
|
180
|
+
* **internal:** version bump ([#113](https://github.com/pay-i/pay-i-python/issues/113)) ([c375532](https://github.com/pay-i/pay-i-python/commit/c375532623f63da11631ade66c5d82032e71a279))
|
|
181
|
+
* **internal:** version bump ([#15](https://github.com/pay-i/pay-i-python/issues/15)) ([45fe2bf](https://github.com/pay-i/pay-i-python/commit/45fe2bf5ae17612d6ba292ad5aa4948b76e713bf))
|
|
182
|
+
* **internal:** version bump ([#18](https://github.com/pay-i/pay-i-python/issues/18)) ([8e76fc4](https://github.com/pay-i/pay-i-python/commit/8e76fc4f4a99729ea2d0ffd449179265f19f2413))
|
|
183
|
+
* **internal:** version bump ([#22](https://github.com/pay-i/pay-i-python/issues/22)) ([4b5aec1](https://github.com/pay-i/pay-i-python/commit/4b5aec1116b6a0709e7e91ea71b95fb0cef01175))
|
|
184
|
+
* **internal:** version bump ([#27](https://github.com/pay-i/pay-i-python/issues/27)) ([bc69988](https://github.com/pay-i/pay-i-python/commit/bc6998870779070079f84eb0012cf355a6d16341))
|
|
185
|
+
* **internal:** version bump ([#3](https://github.com/pay-i/pay-i-python/issues/3)) ([b2822ad](https://github.com/pay-i/pay-i-python/commit/b2822ad9b7d64291a708bcdd33bc9573e2d78ba9))
|
|
186
|
+
* **internal:** version bump ([#31](https://github.com/pay-i/pay-i-python/issues/31)) ([c3024fd](https://github.com/pay-i/pay-i-python/commit/c3024fdd6ed72efc749b59332d72bda4adbb3542))
|
|
187
|
+
* **internal:** version bump ([#47](https://github.com/pay-i/pay-i-python/issues/47)) ([70ad20b](https://github.com/pay-i/pay-i-python/commit/70ad20b368f05fe56b3ee5f1ea8c96f366f282df))
|
|
188
|
+
* **internal:** version bump ([#62](https://github.com/pay-i/pay-i-python/issues/62)) ([3c6a8a3](https://github.com/pay-i/pay-i-python/commit/3c6a8a3f12fb8f649dde37cf489496e6db883892))
|
|
189
|
+
* **internal:** version bump ([#7](https://github.com/pay-i/pay-i-python/issues/7)) ([fbe323e](https://github.com/pay-i/pay-i-python/commit/fbe323e2ad1fcc471b8220d68bc82ef3a67a30b3))
|
|
190
|
+
* **internal:** version bump ([#76](https://github.com/pay-i/pay-i-python/issues/76)) ([b657ab0](https://github.com/pay-i/pay-i-python/commit/b657ab0277a0b09afb839ae0ad3057ebc1d23fef))
|
|
191
|
+
* **internal:** version bump ([#82](https://github.com/pay-i/pay-i-python/issues/82)) ([1ad176b](https://github.com/pay-i/pay-i-python/commit/1ad176b16a9f7d6ee0f7ed75a734356721cad0a2))
|
|
192
|
+
* **internal:** version bump ([#88](https://github.com/pay-i/pay-i-python/issues/88)) ([88588d8](https://github.com/pay-i/pay-i-python/commit/88588d810596d4acd0284f190f2939cf3bb49427))
|
|
193
|
+
* **internal:** version bump ([#93](https://github.com/pay-i/pay-i-python/issues/93)) ([a65550e](https://github.com/pay-i/pay-i-python/commit/a65550efd1e1e979bfcd387f06be70c37402fc1d))
|
|
194
|
+
* **internal:** version bump ([#97](https://github.com/pay-i/pay-i-python/issues/97)) ([b2f4af6](https://github.com/pay-i/pay-i-python/commit/b2f4af6feaebfb822f9562a80e7b8ee49e3bb04e))
|
|
195
|
+
* single header names declaration ([c54f793](https://github.com/pay-i/pay-i-python/commit/c54f793abdf138ea5d742d4d8d3e88bde153caf4))
|
|
196
|
+
* **tests:** update prism version ([#56](https://github.com/pay-i/pay-i-python/issues/56)) ([df7370f](https://github.com/pay-i/pay-i-python/commit/df7370f0aa1c8aa77e3091cb0b7c60238fb35ba0))
|
|
197
|
+
* **tests:** update prism version ([#56](https://github.com/pay-i/pay-i-python/issues/56)) ([c8de639](https://github.com/pay-i/pay-i-python/commit/c8de639a51631a212afc5827db5e85a7a3fbfaad))
|
|
198
|
+
* update SDK settings ([8ff0351](https://github.com/pay-i/pay-i-python/commit/8ff0351ba46df46381eb41cf4eadf655ddb82049))
|
|
199
|
+
* update SDK settings ([7499f33](https://github.com/pay-i/pay-i-python/commit/7499f33bafe555ecce0e6da47131135c568826e4))
|
|
200
|
+
* update SDK settings ([441d968](https://github.com/pay-i/pay-i-python/commit/441d9681112eae338ced67f5186a4a2e371cb99c))
|
|
201
|
+
* update SDK settings ([a3ca848](https://github.com/pay-i/pay-i-python/commit/a3ca8488d686df10ce22f53d69a7ec89f4268131))
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
### Documentation
|
|
205
|
+
|
|
206
|
+
* update URLs from stainlessapi.com to stainless.com ([#244](https://github.com/pay-i/pay-i-python/issues/244)) ([35a6787](https://github.com/pay-i/pay-i-python/commit/35a67870e10677ee315a15834207fb25125e98b7))
|
|
207
|
+
|
|
3
208
|
## 0.1.0-alpha.52 (2025-02-20)
|
|
4
209
|
|
|
5
210
|
Full Changelog: [v0.1.0-alpha.51...v0.1.0-alpha.52](https://github.com/Pay-i/pay-i-python/compare/v0.1.0-alpha.51...v0.1.0-alpha.52)
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: payi
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a55
|
|
4
4
|
Summary: The official Python library for the payi API
|
|
5
5
|
Project-URL: Homepage, https://github.com/Pay-i/pay-i-python
|
|
6
6
|
Project-URL: Repository, https://github.com/Pay-i/pay-i-python
|
|
7
7
|
Author-email: Payi <support@payi.com>
|
|
8
|
-
License
|
|
9
|
-
License-File: LICENSE
|
|
8
|
+
License: Apache-2.0
|
|
10
9
|
Classifier: Intended Audience :: Developers
|
|
11
10
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
11
|
Classifier: Operating System :: MacOS
|
|
@@ -41,7 +40,7 @@ The Payi Python library provides convenient access to the Payi REST API from any
|
|
|
41
40
|
application. The library includes type definitions for all request params and response fields,
|
|
42
41
|
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
|
|
43
42
|
|
|
44
|
-
It is generated with [Stainless](https://www.
|
|
43
|
+
It is generated with [Stainless](https://www.stainless.com/).
|
|
45
44
|
|
|
46
45
|
## Documentation
|
|
47
46
|
|
|
@@ -114,6 +113,28 @@ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typ
|
|
|
114
113
|
|
|
115
114
|
Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
|
|
116
115
|
|
|
116
|
+
## Nested params
|
|
117
|
+
|
|
118
|
+
Nested parameters are dictionaries, typed using `TypedDict`, for example:
|
|
119
|
+
|
|
120
|
+
```python
|
|
121
|
+
from payi import Payi
|
|
122
|
+
|
|
123
|
+
client = Payi()
|
|
124
|
+
|
|
125
|
+
experience_type = client.experiences.types.create(
|
|
126
|
+
description="x",
|
|
127
|
+
name="x",
|
|
128
|
+
limit_config={
|
|
129
|
+
"max": 0,
|
|
130
|
+
"limit_tags": ["tag1", "tag2"],
|
|
131
|
+
"limit_type": "block",
|
|
132
|
+
"threshold": 0,
|
|
133
|
+
},
|
|
134
|
+
)
|
|
135
|
+
print(experience_type.limit_config)
|
|
136
|
+
```
|
|
137
|
+
|
|
117
138
|
## Handling errors
|
|
118
139
|
|
|
119
140
|
When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `payi.APIConnectionError` is raised.
|
|
@@ -6,7 +6,7 @@ The Payi Python library provides convenient access to the Payi REST API from any
|
|
|
6
6
|
application. The library includes type definitions for all request params and response fields,
|
|
7
7
|
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
|
|
8
8
|
|
|
9
|
-
It is generated with [Stainless](https://www.
|
|
9
|
+
It is generated with [Stainless](https://www.stainless.com/).
|
|
10
10
|
|
|
11
11
|
## Documentation
|
|
12
12
|
|
|
@@ -79,6 +79,28 @@ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typ
|
|
|
79
79
|
|
|
80
80
|
Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
|
|
81
81
|
|
|
82
|
+
## Nested params
|
|
83
|
+
|
|
84
|
+
Nested parameters are dictionaries, typed using `TypedDict`, for example:
|
|
85
|
+
|
|
86
|
+
```python
|
|
87
|
+
from payi import Payi
|
|
88
|
+
|
|
89
|
+
client = Payi()
|
|
90
|
+
|
|
91
|
+
experience_type = client.experiences.types.create(
|
|
92
|
+
description="x",
|
|
93
|
+
name="x",
|
|
94
|
+
limit_config={
|
|
95
|
+
"max": 0,
|
|
96
|
+
"limit_tags": ["tag1", "tag2"],
|
|
97
|
+
"limit_type": "block",
|
|
98
|
+
"threshold": 0,
|
|
99
|
+
},
|
|
100
|
+
)
|
|
101
|
+
print(experience_type.limit_config)
|
|
102
|
+
```
|
|
103
|
+
|
|
82
104
|
## Handling errors
|
|
83
105
|
|
|
84
106
|
When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `payi.APIConnectionError` is raised.
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Reporting Security Issues
|
|
4
4
|
|
|
5
|
-
This SDK is generated by [Stainless Software Inc](http://
|
|
5
|
+
This SDK is generated by [Stainless Software Inc](http://stainless.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken.
|
|
6
6
|
|
|
7
|
-
To report a security issue, please contact the Stainless team at security@
|
|
7
|
+
To report a security issue, please contact the Stainless team at security@stainless.com.
|
|
8
8
|
|
|
9
9
|
## Responsible Disclosure
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "payi"
|
|
3
|
-
version = "0.1.0-alpha.
|
|
3
|
+
version = "0.1.0-alpha.55"
|
|
4
4
|
description = "The official Python library for the payi API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -41,7 +41,6 @@ Homepage = "https://github.com/Pay-i/pay-i-python"
|
|
|
41
41
|
Repository = "https://github.com/Pay-i/pay-i-python"
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
|
|
45
44
|
[tool.rye]
|
|
46
45
|
managed = true
|
|
47
46
|
# version pins are in requirements-dev.lock
|
|
@@ -91,7 +90,7 @@ typecheck = { chain = [
|
|
|
91
90
|
"typecheck:mypy" = "mypy ."
|
|
92
91
|
|
|
93
92
|
[build-system]
|
|
94
|
-
requires = ["hatchling", "hatch-fancy-pypi-readme"]
|
|
93
|
+
requires = ["hatchling==1.26.3", "hatch-fancy-pypi-readme"]
|
|
95
94
|
build-backend = "hatchling.build"
|
|
96
95
|
|
|
97
96
|
[tool.hatch.build]
|
|
@@ -156,7 +155,6 @@ reportImplicitOverride = true
|
|
|
156
155
|
reportImportCycles = false
|
|
157
156
|
reportPrivateUsage = false
|
|
158
157
|
|
|
159
|
-
|
|
160
158
|
[tool.ruff]
|
|
161
159
|
line-length = 120
|
|
162
160
|
output-format = "grouped"
|
|
@@ -9,7 +9,6 @@ import asyncio
|
|
|
9
9
|
import inspect
|
|
10
10
|
import logging
|
|
11
11
|
import platform
|
|
12
|
-
import warnings
|
|
13
12
|
import email.utils
|
|
14
13
|
from types import TracebackType
|
|
15
14
|
from random import random
|
|
@@ -36,7 +35,7 @@ import anyio
|
|
|
36
35
|
import httpx
|
|
37
36
|
import distro
|
|
38
37
|
import pydantic
|
|
39
|
-
from httpx import URL
|
|
38
|
+
from httpx import URL
|
|
40
39
|
from pydantic import PrivateAttr
|
|
41
40
|
|
|
42
41
|
from . import _exceptions
|
|
@@ -51,19 +50,16 @@ from ._types import (
|
|
|
51
50
|
Timeout,
|
|
52
51
|
NotGiven,
|
|
53
52
|
ResponseT,
|
|
54
|
-
Transport,
|
|
55
53
|
AnyMapping,
|
|
56
54
|
PostParser,
|
|
57
|
-
ProxiesTypes,
|
|
58
55
|
RequestFiles,
|
|
59
56
|
HttpxSendArgs,
|
|
60
|
-
AsyncTransport,
|
|
61
57
|
RequestOptions,
|
|
62
58
|
HttpxRequestFiles,
|
|
63
59
|
ModelBuilderProtocol,
|
|
64
60
|
)
|
|
65
61
|
from ._utils import is_dict, is_list, asyncify, is_given, lru_cache, is_mapping
|
|
66
|
-
from ._compat import model_copy, model_dump
|
|
62
|
+
from ._compat import PYDANTIC_V2, model_copy, model_dump
|
|
67
63
|
from ._models import GenericModel, FinalRequestOptions, validate_type, construct_type
|
|
68
64
|
from ._response import (
|
|
69
65
|
APIResponse,
|
|
@@ -207,6 +203,9 @@ class BaseSyncPage(BasePage[_T], Generic[_T]):
|
|
|
207
203
|
model: Type[_T],
|
|
208
204
|
options: FinalRequestOptions,
|
|
209
205
|
) -> None:
|
|
206
|
+
if PYDANTIC_V2 and getattr(self, "__pydantic_private__", None) is None:
|
|
207
|
+
self.__pydantic_private__ = {}
|
|
208
|
+
|
|
210
209
|
self._model = model
|
|
211
210
|
self._client = client
|
|
212
211
|
self._options = options
|
|
@@ -292,6 +291,9 @@ class BaseAsyncPage(BasePage[_T], Generic[_T]):
|
|
|
292
291
|
client: AsyncAPIClient,
|
|
293
292
|
options: FinalRequestOptions,
|
|
294
293
|
) -> None:
|
|
294
|
+
if PYDANTIC_V2 and getattr(self, "__pydantic_private__", None) is None:
|
|
295
|
+
self.__pydantic_private__ = {}
|
|
296
|
+
|
|
295
297
|
self._model = model
|
|
296
298
|
self._client = client
|
|
297
299
|
self._options = options
|
|
@@ -331,9 +333,6 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
|
|
|
331
333
|
_base_url: URL
|
|
332
334
|
max_retries: int
|
|
333
335
|
timeout: Union[float, Timeout, None]
|
|
334
|
-
_limits: httpx.Limits
|
|
335
|
-
_proxies: ProxiesTypes | None
|
|
336
|
-
_transport: Transport | AsyncTransport | None
|
|
337
336
|
_strict_response_validation: bool
|
|
338
337
|
_idempotency_header: str | None
|
|
339
338
|
_default_stream_cls: type[_DefaultStreamT] | None = None
|
|
@@ -346,9 +345,6 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
|
|
|
346
345
|
_strict_response_validation: bool,
|
|
347
346
|
max_retries: int = DEFAULT_MAX_RETRIES,
|
|
348
347
|
timeout: float | Timeout | None = DEFAULT_TIMEOUT,
|
|
349
|
-
limits: httpx.Limits,
|
|
350
|
-
transport: Transport | AsyncTransport | None,
|
|
351
|
-
proxies: ProxiesTypes | None,
|
|
352
348
|
custom_headers: Mapping[str, str] | None = None,
|
|
353
349
|
custom_query: Mapping[str, object] | None = None,
|
|
354
350
|
) -> None:
|
|
@@ -356,9 +352,6 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
|
|
|
356
352
|
self._base_url = self._enforce_trailing_slash(URL(base_url))
|
|
357
353
|
self.max_retries = max_retries
|
|
358
354
|
self.timeout = timeout
|
|
359
|
-
self._limits = limits
|
|
360
|
-
self._proxies = proxies
|
|
361
|
-
self._transport = transport
|
|
362
355
|
self._custom_headers = custom_headers or {}
|
|
363
356
|
self._custom_query = custom_query or {}
|
|
364
357
|
self._strict_response_validation = _strict_response_validation
|
|
@@ -518,7 +511,7 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
|
|
|
518
511
|
# so that passing a `TypedDict` doesn't cause an error.
|
|
519
512
|
# https://github.com/microsoft/pyright/issues/3526#event-6715453066
|
|
520
513
|
params=self.qs.stringify(cast(Mapping[str, Any], params)) if params else None,
|
|
521
|
-
json=json_data,
|
|
514
|
+
json=json_data if is_given(json_data) else None,
|
|
522
515
|
files=files,
|
|
523
516
|
**kwargs,
|
|
524
517
|
)
|
|
@@ -794,46 +787,11 @@ class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]):
|
|
|
794
787
|
base_url: str | URL,
|
|
795
788
|
max_retries: int = DEFAULT_MAX_RETRIES,
|
|
796
789
|
timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
|
|
797
|
-
transport: Transport | None = None,
|
|
798
|
-
proxies: ProxiesTypes | None = None,
|
|
799
|
-
limits: Limits | None = None,
|
|
800
790
|
http_client: httpx.Client | None = None,
|
|
801
791
|
custom_headers: Mapping[str, str] | None = None,
|
|
802
792
|
custom_query: Mapping[str, object] | None = None,
|
|
803
793
|
_strict_response_validation: bool,
|
|
804
794
|
) -> None:
|
|
805
|
-
kwargs: dict[str, Any] = {}
|
|
806
|
-
if limits is not None:
|
|
807
|
-
warnings.warn(
|
|
808
|
-
"The `connection_pool_limits` argument is deprecated. The `http_client` argument should be passed instead",
|
|
809
|
-
category=DeprecationWarning,
|
|
810
|
-
stacklevel=3,
|
|
811
|
-
)
|
|
812
|
-
if http_client is not None:
|
|
813
|
-
raise ValueError("The `http_client` argument is mutually exclusive with `connection_pool_limits`")
|
|
814
|
-
else:
|
|
815
|
-
limits = DEFAULT_CONNECTION_LIMITS
|
|
816
|
-
|
|
817
|
-
if transport is not None:
|
|
818
|
-
kwargs["transport"] = transport
|
|
819
|
-
warnings.warn(
|
|
820
|
-
"The `transport` argument is deprecated. The `http_client` argument should be passed instead",
|
|
821
|
-
category=DeprecationWarning,
|
|
822
|
-
stacklevel=3,
|
|
823
|
-
)
|
|
824
|
-
if http_client is not None:
|
|
825
|
-
raise ValueError("The `http_client` argument is mutually exclusive with `transport`")
|
|
826
|
-
|
|
827
|
-
if proxies is not None:
|
|
828
|
-
kwargs["proxies"] = proxies
|
|
829
|
-
warnings.warn(
|
|
830
|
-
"The `proxies` argument is deprecated. The `http_client` argument should be passed instead",
|
|
831
|
-
category=DeprecationWarning,
|
|
832
|
-
stacklevel=3,
|
|
833
|
-
)
|
|
834
|
-
if http_client is not None:
|
|
835
|
-
raise ValueError("The `http_client` argument is mutually exclusive with `proxies`")
|
|
836
|
-
|
|
837
795
|
if not is_given(timeout):
|
|
838
796
|
# if the user passed in a custom http client with a non-default
|
|
839
797
|
# timeout set then we use that timeout.
|
|
@@ -854,12 +812,9 @@ class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]):
|
|
|
854
812
|
|
|
855
813
|
super().__init__(
|
|
856
814
|
version=version,
|
|
857
|
-
limits=limits,
|
|
858
815
|
# cast to a valid type because mypy doesn't understand our type narrowing
|
|
859
816
|
timeout=cast(Timeout, timeout),
|
|
860
|
-
proxies=proxies,
|
|
861
817
|
base_url=base_url,
|
|
862
|
-
transport=transport,
|
|
863
818
|
max_retries=max_retries,
|
|
864
819
|
custom_query=custom_query,
|
|
865
820
|
custom_headers=custom_headers,
|
|
@@ -869,9 +824,6 @@ class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]):
|
|
|
869
824
|
base_url=base_url,
|
|
870
825
|
# cast to a valid type because mypy doesn't understand our type narrowing
|
|
871
826
|
timeout=cast(Timeout, timeout),
|
|
872
|
-
limits=limits,
|
|
873
|
-
follow_redirects=True,
|
|
874
|
-
**kwargs, # type: ignore
|
|
875
827
|
)
|
|
876
828
|
|
|
877
829
|
def is_closed(self) -> bool:
|
|
@@ -1366,45 +1318,10 @@ class AsyncAPIClient(BaseClient[httpx.AsyncClient, AsyncStream[Any]]):
|
|
|
1366
1318
|
_strict_response_validation: bool,
|
|
1367
1319
|
max_retries: int = DEFAULT_MAX_RETRIES,
|
|
1368
1320
|
timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
|
|
1369
|
-
transport: AsyncTransport | None = None,
|
|
1370
|
-
proxies: ProxiesTypes | None = None,
|
|
1371
|
-
limits: Limits | None = None,
|
|
1372
1321
|
http_client: httpx.AsyncClient | None = None,
|
|
1373
1322
|
custom_headers: Mapping[str, str] | None = None,
|
|
1374
1323
|
custom_query: Mapping[str, object] | None = None,
|
|
1375
1324
|
) -> None:
|
|
1376
|
-
kwargs: dict[str, Any] = {}
|
|
1377
|
-
if limits is not None:
|
|
1378
|
-
warnings.warn(
|
|
1379
|
-
"The `connection_pool_limits` argument is deprecated. The `http_client` argument should be passed instead",
|
|
1380
|
-
category=DeprecationWarning,
|
|
1381
|
-
stacklevel=3,
|
|
1382
|
-
)
|
|
1383
|
-
if http_client is not None:
|
|
1384
|
-
raise ValueError("The `http_client` argument is mutually exclusive with `connection_pool_limits`")
|
|
1385
|
-
else:
|
|
1386
|
-
limits = DEFAULT_CONNECTION_LIMITS
|
|
1387
|
-
|
|
1388
|
-
if transport is not None:
|
|
1389
|
-
kwargs["transport"] = transport
|
|
1390
|
-
warnings.warn(
|
|
1391
|
-
"The `transport` argument is deprecated. The `http_client` argument should be passed instead",
|
|
1392
|
-
category=DeprecationWarning,
|
|
1393
|
-
stacklevel=3,
|
|
1394
|
-
)
|
|
1395
|
-
if http_client is not None:
|
|
1396
|
-
raise ValueError("The `http_client` argument is mutually exclusive with `transport`")
|
|
1397
|
-
|
|
1398
|
-
if proxies is not None:
|
|
1399
|
-
kwargs["proxies"] = proxies
|
|
1400
|
-
warnings.warn(
|
|
1401
|
-
"The `proxies` argument is deprecated. The `http_client` argument should be passed instead",
|
|
1402
|
-
category=DeprecationWarning,
|
|
1403
|
-
stacklevel=3,
|
|
1404
|
-
)
|
|
1405
|
-
if http_client is not None:
|
|
1406
|
-
raise ValueError("The `http_client` argument is mutually exclusive with `proxies`")
|
|
1407
|
-
|
|
1408
1325
|
if not is_given(timeout):
|
|
1409
1326
|
# if the user passed in a custom http client with a non-default
|
|
1410
1327
|
# timeout set then we use that timeout.
|
|
@@ -1426,11 +1343,8 @@ class AsyncAPIClient(BaseClient[httpx.AsyncClient, AsyncStream[Any]]):
|
|
|
1426
1343
|
super().__init__(
|
|
1427
1344
|
version=version,
|
|
1428
1345
|
base_url=base_url,
|
|
1429
|
-
limits=limits,
|
|
1430
1346
|
# cast to a valid type because mypy doesn't understand our type narrowing
|
|
1431
1347
|
timeout=cast(Timeout, timeout),
|
|
1432
|
-
proxies=proxies,
|
|
1433
|
-
transport=transport,
|
|
1434
1348
|
max_retries=max_retries,
|
|
1435
1349
|
custom_query=custom_query,
|
|
1436
1350
|
custom_headers=custom_headers,
|
|
@@ -1440,9 +1354,6 @@ class AsyncAPIClient(BaseClient[httpx.AsyncClient, AsyncStream[Any]]):
|
|
|
1440
1354
|
base_url=base_url,
|
|
1441
1355
|
# cast to a valid type because mypy doesn't understand our type narrowing
|
|
1442
1356
|
timeout=cast(Timeout, timeout),
|
|
1443
|
-
limits=limits,
|
|
1444
|
-
follow_redirects=True,
|
|
1445
|
-
**kwargs, # type: ignore
|
|
1446
1357
|
)
|
|
1447
1358
|
|
|
1448
1359
|
def is_closed(self) -> bool:
|