Skip to content

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Sep 18, 2024

Automated Release PR

1.46.1 (2024-09-19)

Full Changelog: v1.46.0...v1.46.1

Bug Fixes

Chores

  • streaming: silence pydantic model_dump warnings (#1722) (30f84b9)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-app stainless-app bot requested a review from a team as a code owner September 18, 2024 18:52
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from a9df576 to 30f84b9 Compare September 19, 2024 05:04
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 914a785 to cd194df Compare September 19, 2024 14:48
@stainless-app stainless-app bot enabled auto-merge (rebase) September 19, 2024 14:48
@stainless-app stainless-app bot merged commit 6172976 into main Sep 19, 2024
2 checks passed
@stainless-app stainless-app bot deleted the release-please--branches--main--changes--next branch September 19, 2024 15:00
Copy link
Contributor Author

stainless-app bot commented Sep 19, 2024

🤖 Release is at https://github.com/openai/openai-python/releases/tag/v1.46.1 🌻

cast(
"dict[object, object]",
snapshot.model_dump(exclude_unset=True),
snapshot.model_dump(exclude_unset=True, warnings=False),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if PYDANTIC_V2 then only send warnings as False

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this break on pydantic v1 for you?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yeah it did, not sure how our tests didn't catch that, will push a fix

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be fixed in the next release #1735

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants