From 22472a49cd6db9de613f1bfbdad27fbc6c0e138a Mon Sep 17 00:00:00 2001 From: Raghuram Krishnaswami Date: Fri, 30 Nov 2018 07:23:13 +0530 Subject: [PATCH] Fixes PYMODM-119 --- pymodm/base/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pymodm/base/models.py b/pymodm/base/models.py index be9064f..6a7a092 100644 --- a/pymodm/base/models.py +++ b/pymodm/base/models.py @@ -290,6 +290,8 @@ def from_document(cls, document): def to_son(self): """Get this Model back as a :class:`~bson.son.SON` object. + It does not dereference fields. + :returns: SON representing this object as a MongoDB document. """