You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to zodb
Hey,
anyone here has tried to save a model in zodb which inerhits from both pydantic.BaseModel and Persistent.
Anyone has an opinion on that topic?
Thanks
Christian
Paul Everitt
unread,
Nov 12, 2020, 10:10:56 AM11/12/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to zodb
I talked with Jim about it September 2019. Here's what he guessed at: "OK. This isn't a case of violating persistence rules. The problem arises from the fact that dataclass uses a metaclass. This is probably sumountable and perhaps worth surmounting, as dataclasses seem to be popular. "