- Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Currently if I have an object such as
class Foo(DynamicDocument): _id = ObjectIdField(required=True, default=ObjectId, primary_key=True) bar = DictField()
When I create a new item and add it I get:
{ _id: ObjectId(<objectid>), bar: {} }
I would rather this be
{ _id: ObjectId(<objectid>) }
Is there a way to do this currently? List has similar behavior by creating a [].
Metadata
Metadata
Assignees
Labels
No labels