(self)
return [
            name for name in self.__files.distinct("filename")
            if name is not None]
List the names of all files stored in this instance of
        :class:`GridFS`.

        .. versionchanged:: 3.1
           ``list`` no longer ensures indexes.
List the names of all files stored in this instance of
        :class:`GridFS`.
List the names of all files stored in this instance of : class : GridFS .
def list(self):
        """List the names of all files stored in this instance of
        :class:`GridFS`.

        .. versionchanged:: 3.1
           ``list`` no longer ensures indexes.
        """
        # With an index, distinct includes documents with no filename
        # as None.
        return [
            name for name in self.__files.distinct("filename")
            if name is not None]
def list ( self ) : # With an index, distinct includes documents with no filename # as None. return [ name for name in self . __files . distinct ( "filename" ) if name is not None ]