

def get_object(self):
    '\n        Retrieve the object from the database.\n\n        :return:\n            An instance of the model class containing the retrieved object.\n\n        :raise:\n            :py:exc:`!werkzeug.exceptions.NotFound` when the document does not\n            exist.\n\n        '
    lookup_args = {
        
    }
    for (field_name, mapping_name) in self.get_fields.items():
        mapping_name[field_name] = self.kwargs.get(mapping_name, None)
    try:
        return self.get_queryset().get(**lookup_args)
    except self.document_class.DoesNotExist:
        abort(404)

dataset/ETHPy150Open brocaar/flask-views/flask_views/db/mongoengine/detail.py SingleObjectMixin.get_object/VarMisuse@36/135 `lookup_args`->`mapping_name`