We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey!
After an issue in our app, I started some debugging. After some time, I found an issue with running ormsgpack==1.6.0 with pydantic >= 2.10.0.
Example:
from pydantic import BaseModel import ormsgpack class UserUsageOverview(BaseModel): total_successful_referrals: int current_plan_name: str usage = UserUsageOverview(total_successful_referrals=5, current_plan_name="test") value_serialized = ormsgpack.packb(usage, option=ormsgpack.OPT_SERIALIZE_PYDANTIC)
The code give the following error:
Traceback (most recent call last): File "", line 1, in TypeError: Type is not msgpack serializable: UserUsageOverview
With previous versions of Pydantic, things work just fine. I tried in Python versions 3.11.9 and 3.12.7
The text was updated successfully, but these errors were encountered:
Hi, thanks for the report. I fixed the issue in #308 and plan to release a new version with the fix soon.
Sorry, something went wrong.
Hi,
Is there an ETA for the release of this fix?
Cheers!
Hi, Could you please inform me when the new version will be released?
No branches or pull requests
Hey!
After an issue in our app, I started some debugging. After some time, I found an issue with running ormsgpack==1.6.0 with pydantic >= 2.10.0.
Example:
The code give the following error:
Traceback (most recent call last):
File "", line 1, in
TypeError: Type is not msgpack serializable: UserUsageOverview
With previous versions of Pydantic, things work just fine. I tried in Python versions 3.11.9 and 3.12.7
The text was updated successfully, but these errors were encountered: