#NEWLINE# def find( self , * args , **kwargs ) : #NEWLINE# #INDENT# 'Query GridFS for files.\n\n        Returns a cursor that iterates across files matching\n        arbitrary queries on the files collection. Can be combined\n        with other modifiers for additional control. For example::\n\n          for grid_out in fs.find({"filename": "lisa.txt"},\n                                  no_cursor_timeout=True):\n              data = grid_out.read()\n\n        would iterate through all versions of "lisa.txt" stored in GridFS.\n        Note that setting no_cursor_timeout to True may be important to\n        prevent the cursor from timing out during long multi-file processing\n        work.\n\n        As another example, the call::\n\n          most_recent_three = fs.find().sort("uploadDate", -1).limit(3)\n\n        would return a cursor to the three most recently uploaded files\n        in GridFS.\n\n        Follows a similar interface to\n        :meth:`~pymongo.collection.Collection.find`\n        in :class:`~pymongo.collection.Collection`.\n\n        :Parameters:\n          - `filter` (optional): a SON object specifying elements which\n            must be present for a document to be included in the\n            result set\n          - `skip` (optional): the number of files to omit (from\n            the start of the result set) when returning the results\n          - `limit` (optional): the maximum number of results to\n            return\n          - `no_cursor_timeout` (optional): if False (the default), any\n            returned cursor is closed by the server after 10 minutes of\n            inactivity. If set to True, the returned cursor will never\n            time out on the server. Care should be taken to ensure that\n            cursors with no_cursor_timeout turned on are properly closed.\n          - `sort` (optional): a list of (key, direction) pairs\n            specifying the sort order for this query. See\n            :meth:`~pymongo.cursor.Cursor.sort` for details.\n\n        Raises :class:`TypeError` if any of the arguments are of\n        improper type. Returns an instance of\n        :class:`~gridfs.grid_file.GridOutCursor`\n        corresponding to this query.\n\n        .. versionchanged:: 3.0\n           Removed the read_preference, tag_sets, and\n           secondary_acceptable_latency_ms options.\n        .. versionadded:: 2.7\n        .. mongodoc:: find\n        ' #NEWLINE# return GridOutCursor ( self . __collection , * args , ** kwargs )