def get_object(self):
        lookup_args = {}

        for field_name, mapping_name in self.get_fields.items():
            lookup_args[field_name] = self.kwargs.get(mapping_name, None)

        try:
            return self.get_queryset().get(**lookup_args)
        except self.document_class.DoesNotExist:
            abort(404)
The URI base is the same as the container name.
dataset/ETHPy150Open brocaar/flask-views/flask_views/db/mongoengine/detail.py/SingleObjectMixin.get_object--crossover with--dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/StorageObjectManager.name