(self, file_id)
return gout
Get a file from GridFS by ``"_id"``.

        Returns an instance of :class:`~gridfs.grid_file.GridOut`,
        which provides a file-like interface for reading.

        :Parameters:
          - `file_id`: ``"_id"`` of the file to get
Get a file from GridFS by ``"_id"``.
Get a file from GridFS by _id .
def get(self, file_id):
        """Get a file from GridFS by ``"_id"``.

        Returns an instance of :class:`~gridfs.grid_file.GridOut`,
        which provides a file-like interface for reading.

        :Parameters:
          - `file_id`: ``"_id"`` of the file to get
        """
        gout = GridOut(self.__collection, file_id)

        # Raise NoFile now, instead of on first attribute access.
        gout._ensure_file()
        return gout
def get ( self , file_id ) : gout = GridOut ( self . __collection , file_id ) # Raise NoFile now, instead of on first attribute access. gout . _ensure_file ( ) return gout