code: def from_model(cls, document):
          
          return cls(meta={'id': document.id}, **cls.serialize(document))
docs: By default use the ``to_dict`` method
  
          and exclude ``_id``, ``_cls`` and ``owner`` fields