minimongo/collection.py
def find_one(self, *args, **kwargs):
        """Same as :meth:`pymongo.collection.Collection.find_one`, except
        it returns the right document class.
        """
        data = super(Collection, self).find_one(*args, **kwargs)
        if data:
            return self.document_class(data)
        return None
def find_one(self, *args, **kwargs):
        """Same as :meth:`pymongo.collection.Collection.find_one`, except
        it returns the right document class.
        """
        data = super(Collection, self).find_one(*args, **kwargs)
        if data:
            return self.document_class(data)
        return None
def find_one ( self , * args , * * kwargs ) : data = super ( Collection , self ) . find_one ( * args , * * kwargs ) if data : return self . document_class ( data ) return None
Same as :meth:`pymongo.collection.Collection.find_one`, except
        it returns the right document class.
Same as : meth : pymongo . collection . Collection . find_one except it returns the right document class .