You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this feature request. I'm marking this as a duplicate of pydantic/pydantic-extra-types#133. Feel free to refer to that issue re progress for supporting this type. I'd also recommend you take a look at beanie (https://beanie-odm.dev/), which offers awesome support for mongodb + pydantic integration.
Initial Checks
Description
class User(BaseModel):
email : str
password:str
class UserOut(User):
id: ObjectId
something like this
Affected Components
.model_dump()
and.model_dump_json()
model_construct()
, pickling, private attributes, ORM modeThe text was updated successfully, but these errors were encountered: