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

fix: Support json type in athena2pandas #2806

Merged

Conversation

DavidKatz-il
Copy link
Contributor

Feature or Bugfix

  • Bugfix

Relates

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@DavidKatz-il
Copy link
Contributor Author

The queries in the tests are from AWS docs:

@DavidKatz-il DavidKatz-il changed the title Support json type in athena2pandas Fix: Support json type in athena2pandas May 6, 2024
@DavidKatz-il DavidKatz-il changed the title Fix: Support json type in athena2pandas fix: Support json type in athena2pandas May 6, 2024
@malachi-constant

This comment was marked as outdated.

@malachi-constant

This comment was marked as outdated.

@malachi-constant

This comment was marked as outdated.

@malachi-constant

This comment was marked as outdated.

@jaidisido jaidisido linked an issue May 7, 2024 that may be closed by this pull request
@malachi-constant

This comment was marked as outdated.

@malachi-constant

This comment was marked as outdated.

@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 3cda4cd
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
  • Commit ID: 3cda4cd
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@LeonLuttenberger LeonLuttenberger merged commit 1516516 into aws:main May 7, 2024
17 checks passed
@DavidKatz-il DavidKatz-il deleted the bugfix/2794-athena-json-type branch May 7, 2024 20:47
sawyerh referenced this pull request in sawyerh/highlights Aug 31, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[aws-lambda-powertools](https://togithub.com/aws-powertools/powertools-lambda-python)
([changelog](https://togithub.com/aws-powertools/powertools-lambda-python/releases))
| `2.38.1` -> `2.43.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/aws-lambda-powertools/2.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/aws-lambda-powertools/2.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/aws-lambda-powertools/2.38.1/2.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/aws-lambda-powertools/2.38.1/2.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [awswrangler](https://aws-sdk-pandas.readthedocs.io/)
([source](https://togithub.com/aws/aws-sdk-pandas)) | `3.7.3` -> `3.9.1`
|
[![age](https://developer.mend.io/api/mc/badges/age/pypi/awswrangler/3.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/awswrangler/3.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/awswrangler/3.7.3/3.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/awswrangler/3.7.3/3.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [openai](https://togithub.com/openai/openai-python) | `1.34.0` ->
`1.43.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/openai/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/openai/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/openai/1.34.0/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/openai/1.34.0/1.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [tenacity](https://togithub.com/jd/tenacity) | `8.3.0` -> `8.5.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/tenacity/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/tenacity/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/tenacity/8.3.0/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/tenacity/8.3.0/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>aws-powertools/powertools-lambda-python
(aws-lambda-powertools)</summary>

###
[`v2.43.1`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2431---2024-08-12)

[Compare
Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.43.0...v2.43.1)

#### \[v2.43.1] - 2024-08-12

###
[`v2.43.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2430---2024-08-08)

[Compare
Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.42.0...v2.43.0)

#### \[v2.43.0] - 2024-08-08

###
[`v2.42.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2420---2024-07-25)

[Compare
Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.41.0...v2.42.0)

#### \[v2.42.0] - 2024-07-25

###
[`v2.41.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2410---2024-07-11)

[Compare
Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.40.1...v2.41.0)

#### \[v2.41.0] - 2024-07-11

###
[`v2.40.1`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2401---2024-06-28)

[Compare
Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.40.0...v2.40.1)

#### \[v2.40.1] - 2024-06-28

###
[`v2.40.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2400---2024-06-27)

[Compare
Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.39.1...v2.40.0)

#### \[v2.40.0] - 2024-06-27

###
[`v2.39.1`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2391---2024-06-13)

[Compare
Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.39.0...v2.39.1)

#### \[v2.39.1] - 2024-06-13

###
[`v2.39.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2390---2024-06-13)

[Compare
Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.38.1...v2.39.0)

#### \[v2.39.0] - 2024-06-13

</details>

<details>
<summary>aws/aws-sdk-pandas (awswrangler)</summary>

###
[`v3.9.1`](https://togithub.com/aws/aws-sdk-pandas/releases/tag/3.9.1):
AWS SDK for pandas 3.9.1

[Compare
Source](https://togithub.com/aws/aws-sdk-pandas/compare/3.9.0...3.9.1)

#### Bug fixes 🐛

- bucketing error with newer version of Modin (0.31.0) by
[@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2896](https://togithub.com/aws/aws-sdk-pandas/pull/2896)
- `athena.read_sql_query` failing for time columns by
[@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2895](https://togithub.com/aws/aws-sdk-pandas/pull/2895)
- add an argument to control handling nulls in merge criteria by
[@&#8203;brendan-cook-87](https://togithub.com/brendan-cook-87) in
[https://github.com/aws/aws-sdk-pandas/pull/2892](https://togithub.com/aws/aws-sdk-pandas/pull/2892)
- address Ray deprecation warnings by
[@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2929](https://togithub.com/aws/aws-sdk-pandas/pull/2929)
- Add deprecation notice to `s3.select_query` by
[@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2928](https://togithub.com/aws/aws-sdk-pandas/pull/2928)

#### Documentation 📚

- Add steps to install "using pip" to the "AWS Glue Python Shell Jobs"
part of the install docs by [@&#8203;mc51](https://togithub.com/mc51) in
[https://github.com/aws/aws-sdk-pandas/pull/2911](https://togithub.com/aws/aws-sdk-pandas/pull/2911)

#### Security Dependency Updates 🛡️

- bump aiohttp from 3.10.1 to 3.10.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/aws/aws-sdk-pandas/pull/2930](https://togithub.com/aws/aws-sdk-pandas/pull/2930)

#### New Contributors

- [@&#8203;brendan-cook-87](https://togithub.com/brendan-cook-87) made
their first contribution in
[https://github.com/aws/aws-sdk-pandas/pull/2892](https://togithub.com/aws/aws-sdk-pandas/pull/2892)

**Full Changelog**:
aws/aws-sdk-pandas@3.9.0...3.9.1

###
[`v3.9.0`](https://togithub.com/aws/aws-sdk-pandas/releases/tag/3.9.0):
AWS SDK for pandas 3.9.0

[Compare
Source](https://togithub.com/aws/aws-sdk-pandas/compare/3.8.0...3.9.0)

#### Enhancements 🎉

- Support ORC and CSV in `redshift.copy_from_files` function by
[@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2849](https://togithub.com/aws/aws-sdk-pandas/pull/2849)
- Support different merge conditions in `athena.to_iceberg` function by
[@&#8203;aldder](https://togithub.com/aldder) in
[https://github.com/aws/aws-sdk-pandas/pull/2861](https://togithub.com/aws/aws-sdk-pandas/pull/2861)
- Manage `NULL` values in `athena.to_iceberg` merge statement by
[@&#8203;aldder](https://togithub.com/aldder) in
[https://github.com/aws/aws-sdk-pandas/pull/2872](https://togithub.com/aws/aws-sdk-pandas/pull/2872)
- Upgrade Ray to 2.30 by
[@&#8203;jaidisido](https://togithub.com/jaidisido) in
[https://github.com/aws/aws-sdk-pandas/pull/2870](https://togithub.com/aws/aws-sdk-pandas/pull/2870)

#### Bug fixes 🐛

- Fix `tz` attribute check, it was checking `dtype` instead of `dt` by
[@&#8203;sanrodari](https://togithub.com/sanrodari) in
[https://github.com/aws/aws-sdk-pandas/pull/2855](https://togithub.com/aws/aws-sdk-pandas/pull/2855)
- PyArrow backend trimming timestamp to date by
[@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2875](https://togithub.com/aws/aws-sdk-pandas/pull/2875)
- Replace deprecated ray parallelism arg with override_num_blocks by
[@&#8203;kukushking](https://togithub.com/kukushking) in
[https://github.com/aws/aws-sdk-pandas/pull/2876](https://togithub.com/aws/aws-sdk-pandas/pull/2876)

#### Documentation 📚

- Adding NotebookVersion Parameter as specified in official AWS Docs by
[@&#8203;DaxterXS](https://togithub.com/DaxterXS) in
[https://github.com/aws/aws-sdk-pandas/pull/2867](https://togithub.com/aws/aws-sdk-pandas/pull/2867)
- Fix default value in doc string for athena_query_wait_polling_delay
parameters by [@&#8203;niklasr22](https://togithub.com/niklasr22) in
[https://github.com/aws/aws-sdk-pandas/pull/2873](https://togithub.com/aws/aws-sdk-pandas/pull/2873)

#### Security Dependency Updates 🛡️

- Bump urllib3 from 1.26.18 to 1.26.19 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/aws/aws-sdk-pandas/pull/2859](https://togithub.com/aws/aws-sdk-pandas/pull/2859)
- Bump certifi from 2024.6.2 to 2024.7.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/aws/aws-sdk-pandas/pull/2886](https://togithub.com/aws/aws-sdk-pandas/pull/2886)

#### New Contributors

- [@&#8203;aldder](https://togithub.com/aldder) made their first
contribution in
[https://github.com/aws/aws-sdk-pandas/pull/2861](https://togithub.com/aws/aws-sdk-pandas/pull/2861)
- [@&#8203;DaxterXS](https://togithub.com/DaxterXS) made their first
contribution in
[https://github.com/aws/aws-sdk-pandas/pull/2867](https://togithub.com/aws/aws-sdk-pandas/pull/2867)
- [@&#8203;sanrodari](https://togithub.com/sanrodari) made their first
contribution in
[https://github.com/aws/aws-sdk-pandas/pull/2855](https://togithub.com/aws/aws-sdk-pandas/pull/2855)
- [@&#8203;niklasr22](https://togithub.com/niklasr22) made their first
contribution in
[https://github.com/aws/aws-sdk-pandas/pull/2873](https://togithub.com/aws/aws-sdk-pandas/pull/2873)

**Full Changelog**:
aws/aws-sdk-pandas@3.8.0...3.9.0

###
[`v3.8.0`](https://togithub.com/aws/aws-sdk-pandas/releases/tag/3.8.0):
AWS SDK for pandas 3.8.0

[Compare
Source](https://togithub.com/aws/aws-sdk-pandas/compare/3.7.3...3.8.0)

#### Enhancements 🎉

- support client-side parameter resolution in athena.create_ctas_table
by [@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2797](https://togithub.com/aws/aws-sdk-pandas/pull/2797)
- add commit_transaction to postgres.to_sql by
[@&#8203;jaidisido](https://togithub.com/jaidisido) in
[https://github.com/aws/aws-sdk-pandas/pull/2795](https://togithub.com/aws/aws-sdk-pandas/pull/2795)
- add columns parameters support by
[@&#8203;jaidisido](https://togithub.com/jaidisido) in
[https://github.com/aws/aws-sdk-pandas/pull/2814](https://togithub.com/aws/aws-sdk-pandas/pull/2814)
- add overwrite_method to `postgresql.to_sql` by
[@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2820](https://togithub.com/aws/aws-sdk-pandas/pull/2820)
- add upsert mode to sqlserver.py and corresponding tests by
[@&#8203;AntonMantulo](https://togithub.com/AntonMantulo) in
[https://github.com/aws/aws-sdk-pandas/pull/2835](https://togithub.com/aws/aws-sdk-pandas/pull/2835)

#### Bug fixes 🐛

- correct athena timezone TypeError message by
[@&#8203;jaidisido](https://togithub.com/jaidisido) in
[https://github.com/aws/aws-sdk-pandas/pull/2796](https://togithub.com/aws/aws-sdk-pandas/pull/2796)
- update license reference by
[@&#8203;emmanuel-ferdman](https://togithub.com/emmanuel-ferdman) in
[https://github.com/aws/aws-sdk-pandas/pull/2798](https://togithub.com/aws/aws-sdk-pandas/pull/2798)
- add missing index in athena.to_iceberg to_parquet by
[@&#8203;jaidisido](https://togithub.com/jaidisido) in
[https://github.com/aws/aws-sdk-pandas/pull/2799](https://togithub.com/aws/aws-sdk-pandas/pull/2799)
- support json type in athena2pandas by
[@&#8203;DavidKatz-il](https://togithub.com/DavidKatz-il) in
[https://github.com/aws/aws-sdk-pandas/pull/2806](https://togithub.com/aws/aws-sdk-pandas/pull/2806)
- adapt parquet datasource to ray 2.20 by
[@&#8203;jaidisido](https://togithub.com/jaidisido) in
[https://github.com/aws/aws-sdk-pandas/pull/2809](https://togithub.com/aws/aws-sdk-pandas/pull/2809)
- add primary keys when upserting in Postgres by
[@&#8203;AntonMantulo](https://togithub.com/AntonMantulo) in
[https://github.com/aws/aws-sdk-pandas/pull/2819](https://togithub.com/aws/aws-sdk-pandas/pull/2819)
- add `s3_output` parameter to `athena.delete_from_iceberg_table` by
[@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2829](https://togithub.com/aws/aws-sdk-pandas/pull/2829)
- fix s3.read_parquet_metadata not throwing proper error for empty path
by [@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2843](https://togithub.com/aws/aws-sdk-pandas/pull/2843)

#### Documentation 📚

- fix enumerations in doc pages by
[@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2821](https://togithub.com/aws/aws-sdk-pandas/pull/2821)
- fix readthedocs errors by pinning sphinx version by
[@&#8203;LeonLuttenberger](https://togithub.com/LeonLuttenberger) in
[https://github.com/aws/aws-sdk-pandas/pull/2822](https://togithub.com/aws/aws-sdk-pandas/pull/2822)

#### Security Dependency Updates 🛡️

- bump werkzeug from 3.0.1 to 3.0.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/aws/aws-sdk-pandas/pull/2807](https://togithub.com/aws/aws-sdk-pandas/pull/2807)
- bump jinja2 from 3.1.3 to 3.1.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/aws/aws-sdk-pandas/pull/2808](https://togithub.com/aws/aws-sdk-pandas/pull/2808)
- bump requests from 2.31.0 to 2.32.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/aws/aws-sdk-pandas/pull/2827](https://togithub.com/aws/aws-sdk-pandas/pull/2827)
- bump pymysql from 1.1.0 to 1.1.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/aws/aws-sdk-pandas/pull/2830](https://togithub.com/aws/aws-sdk-pandas/pull/2830)

#### New Contributors 👏🏼

- [@&#8203;emmanuel-ferdman](https://togithub.com/emmanuel-ferdman) made
their first contribution in
[https://github.com/aws/aws-sdk-pandas/pull/2798](https://togithub.com/aws/aws-sdk-pandas/pull/2798)
- [@&#8203;DavidKatz-il](https://togithub.com/DavidKatz-il) made their
first contribution in
[https://github.com/aws/aws-sdk-pandas/pull/2806](https://togithub.com/aws/aws-sdk-pandas/pull/2806)
- [@&#8203;AntonMantulo](https://togithub.com/AntonMantulo) made their
first contribution in
[https://github.com/aws/aws-sdk-pandas/pull/2819](https://togithub.com/aws/aws-sdk-pandas/pull/2819)

**Full Changelog**:
aws/aws-sdk-pandas@3.7.3...3.8.0

</details>

<details>
<summary>openai/openai-python (openai)</summary>

###
[`v1.43.0`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1430-2024-08-29)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.42.0...v1.43.0)

Full Changelog:
[v1.42.0...v1.43.0](https://togithub.com/openai/openai-python/compare/v1.42.0...v1.43.0)

##### Features

- **api:** add file search result details to run steps
([#&#8203;1681](https://togithub.com/openai/openai-python/issues/1681))
([f5449c0](https://togithub.com/openai/openai-python/commit/f5449c07580ac9707f0387f86f4772fbf0a874b6))

###
[`v1.42.0`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1420-2024-08-20)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.41.1...v1.42.0)

Full Changelog:
[v1.41.1...v1.42.0](https://togithub.com/openai/openai-python/compare/v1.41.1...v1.42.0)

##### Features

- **parsing:** add support for pydantic dataclasses
([#&#8203;1655](https://togithub.com/openai/openai-python/issues/1655))
([101bee9](https://togithub.com/openai/openai-python/commit/101bee9844f725d2174796c3d09a58d3aa079fad))

##### Chores

- **ci:** also run pydantic v1 tests
([#&#8203;1666](https://togithub.com/openai/openai-python/issues/1666))
([af2a1ca](https://togithub.com/openai/openai-python/commit/af2a1ca408a406098c6c79837aa3561b822e08ec))

###
[`v1.41.1`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1411-2024-08-19)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.41.0...v1.41.1)

Full Changelog:
[v1.41.0...v1.41.1](https://togithub.com/openai/openai-python/compare/v1.41.0...v1.41.1)

##### Bug Fixes

- **json schema:** remove `None` defaults
([#&#8203;1663](https://togithub.com/openai/openai-python/issues/1663))
([30215c1](https://togithub.com/openai/openai-python/commit/30215c15df613cf9c36cafd717af79158c9db3e5))

##### Chores

- **client:** fix parsing union responses when non-json is returned
([#&#8203;1665](https://togithub.com/openai/openai-python/issues/1665))
([822c37d](https://togithub.com/openai/openai-python/commit/822c37de49eb2ffe8c05122f7520ba87bd76e30b))

###
[`v1.41.0`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1410-2024-08-16)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.40.8...v1.41.0)

Full Changelog:
[v1.40.8...v1.41.0](https://togithub.com/openai/openai-python/compare/v1.40.8...v1.41.0)

##### Features

- **client:** add uploads.upload_file helper
([aae079d](https://togithub.com/openai/openai-python/commit/aae079daa3c1763ab0e46bad766ae5261b475806))

###
[`v1.40.8`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1408-2024-08-15)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.40.7...v1.40.8)

Full Changelog:
[v1.40.7...v1.40.8](https://togithub.com/openai/openai-python/compare/v1.40.7...v1.40.8)

##### Chores

- **types:** define FilePurpose enum
([#&#8203;1653](https://togithub.com/openai/openai-python/issues/1653))
([3c2eeae](https://togithub.com/openai/openai-python/commit/3c2eeae32adf5d4ab6bc622be6f9a95a1a298dd3))

###
[`v1.40.7`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1407-2024-08-15)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.40.6...v1.40.7)

Full Changelog:
[v1.40.6...v1.40.7](https://togithub.com/openai/openai-python/compare/v1.40.6...v1.40.7)

##### Bug Fixes

- **cli/migrate:** change grit binaries download source
([#&#8203;1649](https://togithub.com/openai/openai-python/issues/1649))
([85e8935](https://togithub.com/openai/openai-python/commit/85e8935d9a123b92964d39a98334a975a06ab845))

##### Chores

- **docs:** fix typo in example snippet
([4e83b57](https://togithub.com/openai/openai-python/commit/4e83b57ffbb64e1c98c19968557dc68a0b65d0b3))
- **internal:** use different 32bit detection method
([#&#8203;1652](https://togithub.com/openai/openai-python/issues/1652))
([5831af6](https://togithub.com/openai/openai-python/commit/5831af65048af2a5df9e3ea4a48b8fff2e66dd8c))

###
[`v1.40.6`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1406-2024-08-12)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.40.5...v1.40.6)

Full Changelog:
[v1.40.5...v1.40.6](https://togithub.com/openai/openai-python/compare/v1.40.5...v1.40.6)

##### Chores

- **examples:** minor formatting changes
([#&#8203;1644](https://togithub.com/openai/openai-python/issues/1644))
([e08acf1](https://togithub.com/openai/openai-python/commit/e08acf1c6edd1501ed70c4634cd884ab1658af0d))
- **internal:** update some imports
([#&#8203;1642](https://togithub.com/openai/openai-python/issues/1642))
([fce1ea7](https://togithub.com/openai/openai-python/commit/fce1ea72a89ba2737bc77775fe04f3a21ecb28e7))
- sync openapi url
([#&#8203;1646](https://togithub.com/openai/openai-python/issues/1646))
([8ae3801](https://togithub.com/openai/openai-python/commit/8ae380123ada0bfaca9961e222a0e9c8b585e2d4))
- **tests:** fix pydantic v1 tests
([2623630](https://togithub.com/openai/openai-python/commit/26236303f0f6de5df887e8ee3e41d5bc39a3abb1))

###
[`v1.40.5`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1405-2024-08-12)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.40.4...v1.40.5)

Full Changelog:
[v1.40.4...v1.40.5](https://togithub.com/openai/openai-python/compare/v1.40.4...v1.40.5)

##### Documentation

- **helpers:** make async client usage more clear
([34e1edf](https://togithub.com/openai/openai-python/commit/34e1edf29d6008df7196aaebc45172fa536c6410)),
closes
[#&#8203;1639](https://togithub.com/openai/openai-python/issues/1639)

###
[`v1.40.4`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1404-2024-08-12)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.40.3...v1.40.4)

Full Changelog:
[v1.40.3...v1.40.4](https://togithub.com/openai/openai-python/compare/v1.40.3...v1.40.4)

##### Bug Fixes

- **json schema:** unravel `$ref`s alongside additional keys
([c7a3d29](https://togithub.com/openai/openai-python/commit/c7a3d2986acaf3b31844b39608d03265ad87bb04))
- **json schema:** unwrap `allOf`s with one entry
([53d964d](https://togithub.com/openai/openai-python/commit/53d964defebdf385d7d832ec7f13111b4af13c27))

###
[`v1.40.3`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1403-2024-08-10)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.40.2...v1.40.3)

Full Changelog:
[v1.40.2...v1.40.3](https://togithub.com/openai/openai-python/compare/v1.40.2...v1.40.3)

##### Chores

- **ci:** bump prism mock server version
([#&#8203;1630](https://togithub.com/openai/openai-python/issues/1630))
([214d8fd](https://togithub.com/openai/openai-python/commit/214d8fd8d7d43c06c7dfe02680847a6a60988120))
- **ci:** codeowners file
([#&#8203;1627](https://togithub.com/openai/openai-python/issues/1627))
([c059a20](https://togithub.com/openai/openai-python/commit/c059a20c8cd2124178641c9d8688e276b1cf1d59))
- **internal:** ensure package is importable in lint cmd
([#&#8203;1631](https://togithub.com/openai/openai-python/issues/1631))
([779e6d0](https://togithub.com/openai/openai-python/commit/779e6d081eb55c158f2aa1962190079eb7f1335e))

###
[`v1.40.2`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1402-2024-08-08)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.40.1...v1.40.2)

Full Changelog:
[v1.40.1...v1.40.2](https://togithub.com/openai/openai-python/compare/v1.40.1...v1.40.2)

##### Bug Fixes

- **client:** raise helpful error message for response_format misuse
([18191da](https://togithub.com/openai/openai-python/commit/18191dac8e1437a0f708525d474b7ecfe459d966))
- **json schema:** support recursive BaseModels in Pydantic v1
([#&#8203;1623](https://togithub.com/openai/openai-python/issues/1623))
([43e10c0](https://togithub.com/openai/openai-python/commit/43e10c0f251a42f1e6497f360c6c23d3058b3da3))

##### Chores

- **internal:** format some docstrings
([d34a081](https://togithub.com/openai/openai-python/commit/d34a081c30f869646145919b2256ded115241eb5))
- **internal:** updates
([#&#8203;1624](https://togithub.com/openai/openai-python/issues/1624))
([598e7a2](https://togithub.com/openai/openai-python/commit/598e7a23768e7addbe1319ada2e87caee3cf0d14))

###
[`v1.40.1`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1401-2024-08-07)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.40.0...v1.40.1)

Full Changelog:
[v1.40.0...v1.40.1](https://togithub.com/openai/openai-python/compare/v1.40.0...v1.40.1)

##### Chores

- **internal:** update OpenAPI spec url
([#&#8203;1608](https://togithub.com/openai/openai-python/issues/1608))
([5392753](https://togithub.com/openai/openai-python/commit/53927531fc101e96b9e3f5d44f34b298055f496a))
- **internal:** update test snapshots
([a11d1cb](https://togithub.com/openai/openai-python/commit/a11d1cb5d04aac0bf69dc10a3a21fa95575c0aa0))

###
[`v1.40.0`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1400-2024-08-06)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.39.0...v1.40.0)

Full Changelog:
[v1.39.0...v1.40.0](https://togithub.com/openai/openai-python/compare/v1.39.0...v1.40.0)

##### Features

- **api:** add structured outputs support
([e8dba7d](https://togithub.com/openai/openai-python/commit/e8dba7d0e08a7d0de5952be716e0efe9ae373759))

##### Chores

- **internal:** bump ruff version
([#&#8203;1604](https://togithub.com/openai/openai-python/issues/1604))
([3e19a87](https://togithub.com/openai/openai-python/commit/3e19a87255d8e92716689656afaa3f16297773b6))
- **internal:** update pydantic compat helper function
([#&#8203;1607](https://togithub.com/openai/openai-python/issues/1607))
([973c18b](https://togithub.com/openai/openai-python/commit/973c18b259a0e4a8134223f50a5f660b86650949))

###
[`v1.39.0`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1390-2024-08-05)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.38.0...v1.39.0)

Full Changelog:
[v1.38.0...v1.39.0](https://togithub.com/openai/openai-python/compare/v1.38.0...v1.39.0)

##### Features

- **client:** add `retries_taken` to raw response class
([#&#8203;1601](https://togithub.com/openai/openai-python/issues/1601))
([777822b](https://togithub.com/openai/openai-python/commit/777822b39b7f9ebd6272d0af8fc04f9d657bd886))

##### Bug Fixes

- **assistants:** add parallel_tool_calls param to runs.stream
([113e82a](https://togithub.com/openai/openai-python/commit/113e82a82c7390660ad3324fa8f9842f83b27571))

##### Chores

- **internal:** bump pyright
([#&#8203;1599](https://togithub.com/openai/openai-python/issues/1599))
([27f0f10](https://togithub.com/openai/openai-python/commit/27f0f107e39d16adc0d5a50ffe4c687e0e3c42e5))
- **internal:** test updates
([#&#8203;1602](https://togithub.com/openai/openai-python/issues/1602))
([af22d80](https://togithub.com/openai/openai-python/commit/af22d8079cf44cde5f03a206e78b900f8413dc43))
- **internal:** use `TypeAlias` marker for type assignments
([#&#8203;1597](https://togithub.com/openai/openai-python/issues/1597))
([5907ea0](https://togithub.com/openai/openai-python/commit/5907ea04d6f5e0ffd17c38ad6a644a720ece8abe))

###
[`v1.38.0`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1380-2024-08-02)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.37.2...v1.38.0)

Full Changelog:
[v1.37.2...v1.38.0](https://togithub.com/openai/openai-python/compare/v1.37.2...v1.38.0)

##### Features

- extract out `ImageModel`, `AudioModel`, `SpeechModel`
([#&#8203;1586](https://togithub.com/openai/openai-python/issues/1586))
([b800316](https://togithub.com/openai/openai-python/commit/b800316aee6c8b2aeb609ca4c41972adccd2fa7a))
- make enums not nominal
([#&#8203;1588](https://togithub.com/openai/openai-python/issues/1588))
([ab4519b](https://togithub.com/openai/openai-python/commit/ab4519bc45f5512c8c5165641c217385d999809c))

###
[`v1.37.2`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1372-2024-08-01)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.37.1...v1.37.2)

Full Changelog:
[v1.37.1...v1.37.2](https://togithub.com/openai/openai-python/compare/v1.37.1...v1.37.2)

##### Chores

- **internal:** add type construction helper
([#&#8203;1584](https://togithub.com/openai/openai-python/issues/1584))
([cbb186a](https://togithub.com/openai/openai-python/commit/cbb186a534b520fa5b11a9b371b175e3f6a6482b))
- **runs/create_and_poll:** add parallel_tool_calls request param
([04b3e6c](https://togithub.com/openai/openai-python/commit/04b3e6c39ee5a7088e0e4dfa4c06f3dcce901a57))

###
[`v1.37.1`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1371-2024-07-25)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.37.0...v1.37.1)

Full Changelog:
[v1.37.0...v1.37.1](https://togithub.com/openai/openai-python/compare/v1.37.0...v1.37.1)

##### Chores

- **tests:** update prism version
([#&#8203;1572](https://togithub.com/openai/openai-python/issues/1572))
([af82593](https://togithub.com/openai/openai-python/commit/af8259393673af1ef6ec711da6297eb4ad55b66e))

###
[`v1.37.0`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1370-2024-07-22)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.36.1...v1.37.0)

Full Changelog:
[v1.36.1...v1.37.0](https://togithub.com/openai/openai-python/compare/v1.36.1...v1.37.0)

##### Features

- **api:** add uploads endpoints
([#&#8203;1568](https://togithub.com/openai/openai-python/issues/1568))
([d877b6d](https://togithub.com/openai/openai-python/commit/d877b6dabb9b3e8da6ff2f46de1120af54de398d))

##### Bug Fixes

- **cli/audio:** handle non-json response format
([#&#8203;1557](https://togithub.com/openai/openai-python/issues/1557))
([bb7431f](https://togithub.com/openai/openai-python/commit/bb7431f602602d4c74d75809c6934a7fd192972d))

##### Documentation

- **readme:** fix example snippet imports
([#&#8203;1569](https://togithub.com/openai/openai-python/issues/1569))
([0c90af6](https://togithub.com/openai/openai-python/commit/0c90af6412b3314c2257b9b8eb7fabd767f32ef6))

###
[`v1.36.1`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1361-2024-07-20)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.36.0...v1.36.1)

Full Changelog:
[v1.36.0...v1.36.1](https://togithub.com/openai/openai-python/compare/v1.36.0...v1.36.1)

##### Bug Fixes

- **types:** add gpt-4o-mini to more assistants methods
([39a8a37](https://togithub.com/openai/openai-python/commit/39a8a372eb3f2d75fd4310d42294d05175a59fd8))

###
[`v1.36.0`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1360-2024-07-19)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.15...v1.36.0)

Full Changelog:
[v1.35.15...v1.36.0](https://togithub.com/openai/openai-python/compare/v1.35.15...v1.36.0)

##### Features

- **api:** add new gpt-4o-mini models
([#&#8203;1561](https://togithub.com/openai/openai-python/issues/1561))
([5672ad4](https://togithub.com/openai/openai-python/commit/5672ad40aaa3498f6143baa48fc22bb1a3475bea))

###
[`v1.35.15`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#13515-2024-07-18)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.14...v1.35.15)

Full Changelog:
[v1.35.14...v1.35.15](https://togithub.com/openai/openai-python/compare/v1.35.14...v1.35.15)

##### Chores

- **docs:** document how to do per-request http client customization
([#&#8203;1560](https://togithub.com/openai/openai-python/issues/1560))
([24c0768](https://togithub.com/openai/openai-python/commit/24c076873c5cb2abe0d3e285b99aa110451b0f19))
- **internal:** update formatting
([#&#8203;1553](https://togithub.com/openai/openai-python/issues/1553))
([e1389bc](https://togithub.com/openai/openai-python/commit/e1389bcc26f3aac63fc6bc9bb151c9a330d95b4e))

###
[`v1.35.14`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#13514-2024-07-15)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.13...v1.35.14)

Full Changelog:
[v1.35.13...v1.35.14](https://togithub.com/openai/openai-python/compare/v1.35.13...v1.35.14)

##### Chores

- **docs:** minor update to formatting of API link in README
([#&#8203;1550](https://togithub.com/openai/openai-python/issues/1550))
([a6e59c6](https://togithub.com/openai/openai-python/commit/a6e59c6bbff9e1132aa323c0ecb3be7f0692ae42))
- **internal:** minor formatting changes
([ee1c62e](https://togithub.com/openai/openai-python/commit/ee1c62ede01872e76156d886af4aab5f8eb1cc64))
- **internal:** minor options / compat functions updates
([#&#8203;1549](https://togithub.com/openai/openai-python/issues/1549))
([a0701b5](https://togithub.com/openai/openai-python/commit/a0701b5dbeda4ac2d8a4b093aee4bdad9d674ee2))

###
[`v1.35.13`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#13513-2024-07-10)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.12...v1.35.13)

Full Changelog:
[v1.35.12...v1.35.13](https://togithub.com/openai/openai-python/compare/v1.35.12...v1.35.13)

##### Bug Fixes

- **threads/runs/create_and_run_stream:** correct tool_resources param
([8effd08](https://togithub.com/openai/openai-python/commit/8effd08be3ab1cf509bdbfd9f174f9186fdbf71f))

##### Chores

- **internal:** add helper function
([#&#8203;1538](https://togithub.com/openai/openai-python/issues/1538))
([81655a0](https://togithub.com/openai/openai-python/commit/81655a012e28c0240e71cf74b77ad1f9ac630906))

###
[`v1.35.12`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#13512-2024-07-09)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.11...v1.35.12)

Full Changelog:
[v1.35.11...v1.35.12](https://togithub.com/openai/openai-python/compare/v1.35.11...v1.35.12)

##### Bug Fixes

- **azure:** refresh auth token during retries
([#&#8203;1533](https://togithub.com/openai/openai-python/issues/1533))
([287926e](https://togithub.com/openai/openai-python/commit/287926e4c0920b930af2b9d3d8b46a24e78e2979))
- **tests:** fresh_env() now resets new environment values
([64da888](https://togithub.com/openai/openai-python/commit/64da888ca4d13f0b4b6d9e22ec93a897b2d6bb24))

###
[`v1.35.11`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#13511-2024-07-09)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.10...v1.35.11)

Full Changelog:
[v1.35.10...v1.35.11](https://togithub.com/openai/openai-python/compare/v1.35.10...v1.35.11)

##### Chores

- **internal:** minor request options handling changes
([#&#8203;1534](https://togithub.com/openai/openai-python/issues/1534))
([8b0e493](https://togithub.com/openai/openai-python/commit/8b0e49302b3fcc32cf02393bf28354c577188904))

###
[`v1.35.10`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#13510-2024-07-03)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.9...v1.35.10)

Full Changelog:
[v1.35.9...v1.35.10](https://togithub.com/openai/openai-python/compare/v1.35.9...v1.35.10)

##### Chores

- **ci:** update rye to v0.35.0
([#&#8203;1523](https://togithub.com/openai/openai-python/issues/1523))
([dd118c4](https://togithub.com/openai/openai-python/commit/dd118c422019df00b153104b7bddf892c2ec7417))

###
[`v1.35.9`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1359-2024-07-02)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.8...v1.35.9)

Full Changelog:
[v1.35.8...v1.35.9](https://togithub.com/openai/openai-python/compare/v1.35.8...v1.35.9)

##### Bug Fixes

- **client:** always respect content-type multipart/form-data if
provided
([#&#8203;1519](https://togithub.com/openai/openai-python/issues/1519))
([6da55e1](https://togithub.com/openai/openai-python/commit/6da55e10c4ba8c78687baedc68d5599ea120d05c))

##### Chores

- minor change to tests
([#&#8203;1521](https://togithub.com/openai/openai-python/issues/1521))
([a679c0b](https://togithub.com/openai/openai-python/commit/a679c0bd1e041434440174daa7a64289746856d1))

###
[`v1.35.8`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1358-2024-07-02)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.7...v1.35.8)

Full Changelog:
[v1.35.7...v1.35.8](https://togithub.com/openai/openai-python/compare/v1.35.7...v1.35.8)

##### Chores

- gitignore test server logs
([#&#8203;1509](https://togithub.com/openai/openai-python/issues/1509))
([936d840](https://togithub.com/openai/openai-python/commit/936d84094a28ad0a2b4a20e2b3bbf1674048223e))
- **internal:** add helper method for constructing `BaseModel`s
([#&#8203;1517](https://togithub.com/openai/openai-python/issues/1517))
([e5ddbf5](https://togithub.com/openai/openai-python/commit/e5ddbf554ce4b6be4b59114a36e69f02ca724acf))
- **internal:** add reflection helper function
([#&#8203;1508](https://togithub.com/openai/openai-python/issues/1508))
([6044e1b](https://togithub.com/openai/openai-python/commit/6044e1bbfa9e46a01faf5a9edf198f86fa4c6dd0))
- **internal:** add rich as a dev dependency
([#&#8203;1514](https://togithub.com/openai/openai-python/issues/1514))
([8a2b4e4](https://togithub.com/openai/openai-python/commit/8a2b4e4c1233dca916531ebc65d65a8d35fa7b7b))

###
[`v1.35.7`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1357-2024-06-27)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.6...v1.35.7)

Full Changelog:
[v1.35.6...v1.35.7](https://togithub.com/openai/openai-python/compare/v1.35.6...v1.35.7)

##### Bug Fixes

- **build:** include more files in sdist builds
([#&#8203;1504](https://togithub.com/openai/openai-python/issues/1504))
([730c1b5](https://togithub.com/openai/openai-python/commit/730c1b53b1a61e218a85aa2d1cf3ba4775618755))

###
[`v1.35.6`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1356-2024-06-27)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.5...v1.35.6)

Full Changelog:
[v1.35.5...v1.35.6](https://togithub.com/openai/openai-python/compare/v1.35.5...v1.35.6)

##### Documentation

- **readme:** improve some wording
([#&#8203;1392](https://togithub.com/openai/openai-python/issues/1392))
([a58a052](https://togithub.com/openai/openai-python/commit/a58a05215b560ebcf3ff3eb1dd997259720a48f3))

###
[`v1.35.5`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1355-2024-06-26)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.4...v1.35.5)

Full Changelog:
[v1.35.4...v1.35.5](https://togithub.com/openai/openai-python/compare/v1.35.4...v1.35.5)

##### Bug Fixes

- **cli/migrate:** avoid reliance on Python 3.12 argument
([be7a06b](https://togithub.com/openai/openai-python/commit/be7a06b3875e3ecb9229d67a41e290ca218f092d))

###
[`v1.35.4`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1354-2024-06-26)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.3...v1.35.4)

Full Changelog:
[v1.35.3...v1.35.4](https://togithub.com/openai/openai-python/compare/v1.35.3...v1.35.4)

##### Bug Fixes

- **docs:** fix link to advanced python httpx docs
([#&#8203;1499](https://togithub.com/openai/openai-python/issues/1499))
([cf45cd5](https://togithub.com/openai/openai-python/commit/cf45cd5942cecec569072146673ddfc0e0ec108e))
- temporarily patch upstream version to fix broken release flow
([#&#8203;1500](https://togithub.com/openai/openai-python/issues/1500))
([4f10470](https://togithub.com/openai/openai-python/commit/4f10470f5f74fc258a78fa6d897d8ab5b70dcf52))

##### Chores

- **doc:** clarify service tier default value
([#&#8203;1496](https://togithub.com/openai/openai-python/issues/1496))
([ba39667](https://togithub.com/openai/openai-python/commit/ba39667c4faa8e10457347be41334ca9639186d4))

###
[`v1.35.3`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1353-2024-06-20)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.2...v1.35.3)

Full Changelog:
[v1.35.2...v1.35.3](https://togithub.com/openai/openai-python/compare/v1.35.2...v1.35.3)

##### Bug Fixes

- **tests:** add explicit type annotation
([9345f10](https://togithub.com/openai/openai-python/commit/9345f104889056b2ef6646d65375925a0a3bae03))

###
[`v1.35.2`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1352-2024-06-20)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.1...v1.35.2)

Full Changelog:
[v1.35.1...v1.35.2](https://togithub.com/openai/openai-python/compare/v1.35.1...v1.35.2)

##### Bug Fixes

- **api:** add missing parallel_tool_calls arguments
([4041e4f](https://togithub.com/openai/openai-python/commit/4041e4f6ea1e2316179a82031001308be23a2524))

###
[`v1.35.1`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1351-2024-06-19)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.35.0...v1.35.1)

Full Changelog:
[v1.35.0...v1.35.1](https://togithub.com/openai/openai-python/compare/v1.35.0...v1.35.1)

##### Bug Fixes

- **client/async:** avoid blocking io call for platform headers
([#&#8203;1488](https://togithub.com/openai/openai-python/issues/1488))
([ae64c05](https://togithub.com/openai/openai-python/commit/ae64c05cbae76a58b592d913bee6ac1ef9611d4c))

###
[`v1.35.0`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1350-2024-06-18)

[Compare
Source](https://togithub.com/openai/openai-python/compare/v1.34.0...v1.35.0)

Full Changelog:
[v1.34.0...v1.35.0](https://togithub.com/openai/openai-python/compare/v1.34.0...v1.35.0)

##### Features

- **api:** add service tier argument for chat completions
([#&#8203;1486](https://togithub.com/openai/openai-python/issues/1486))
([b4b4e66](https://togithub.com/openai/openai-python/commit/b4b4e660b8bb7ae937787fcab9b40feaeba7f711))

</details>

<details>
<summary>jd/tenacity (tenacity)</summary>

### [`v8.5.0`](https://togithub.com/jd/tenacity/releases/tag/8.5.0)

[Compare Source](https://togithub.com/jd/tenacity/compare/8.4.2...8.5.0)

#### What's Changed

- fix: Restore contents of retry attribute for wrapped functions by
[@&#8203;hasier](https://togithub.com/hasier) in
[https://github.com/jd/tenacity/pull/484](https://togithub.com/jd/tenacity/pull/484)

**Full Changelog**: jd/tenacity@8.4.2...8.5.0

### [`v8.4.2`](https://togithub.com/jd/tenacity/releases/tag/8.4.2):
tenacity 8.4.2

[Compare Source](https://togithub.com/jd/tenacity/compare/8.4.1...8.4.2)

##### What's Changed

- fix: Avoid overwriting local contexts with retry decorator by
[@&#8203;hasier](https://togithub.com/hasier) in
[https://github.com/jd/tenacity/pull/479](https://togithub.com/jd/tenacity/pull/479)

**Full Changelog**: jd/tenacity@8.4.1...8.4.2

### [`v8.4.1`](https://togithub.com/jd/tenacity/releases/tag/8.4.1):
tenacity 8.4.1

[Compare Source](https://togithub.com/jd/tenacity/compare/8.4.0...8.4.1)

#### What's Changed

- Include `tenacity.asyncio` subpackage in release dist by
[@&#8203;cdce8p](https://togithub.com/cdce8p) in
[https://github.com/jd/tenacity/pull/474](https://togithub.com/jd/tenacity/pull/474)

**Full Changelog**: jd/tenacity@8.4.0...8.4.1

### [`v8.4.0`](https://togithub.com/jd/tenacity/releases/tag/8.4.0):
tenacity 8.4.0

[Compare Source](https://togithub.com/jd/tenacity/compare/8.3.0...8.4.0)

#### What's Changed

- Add async strategies by [@&#8203;hasier](https://togithub.com/hasier)
in
[https://github.com/jd/tenacity/pull/451](https://togithub.com/jd/tenacity/pull/451)
- Support Trio out-of-the-box by
[@&#8203;jakkdl](https://togithub.com/jakkdl) in
[https://github.com/jd/tenacity/pull/463](https://togithub.com/jd/tenacity/pull/463)

**Full Changelog**: jd/tenacity@8.3.0...8.4.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the
month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/sawyerh/highlights).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM4LjU2LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@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.

Unsupported Athena type: json
4 participants