def list_schema(m):
    """list all the field in the model
    and in the nested models"""
sdict = {}
for k, v in m._fields.items():
    if k == '_cls':
        pass
Получить необходимые поля из документа в mongoengine?