-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add info about query for files and wrap some lines #147
Conversation
docs/filelist.rst
Outdated
Create `GoogleDriveFileList`_ instance with `parameters of Files.list()`_ as ``dict``. Call `GetList()`_ and you will get all files that matches your query as a list of `GoogleDriveFile`_. | ||
Create `GoogleDriveFileList`_ instance with `parameters of Files.list()`_ as ``dict``. | ||
Call `GetList()`_ and you will get all files that matches your query as a list of `GoogleDriveFile`_. | ||
The syntax and possible option of the query ('q') parameter can be found in `search for files` Google documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it be q
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean backquotes or double backquotes to highlight it properly
docs/filelist.rst
Outdated
@@ -24,7 +26,9 @@ You can update metadata or content of these `GoogleDriveFile`_ instances if you | |||
Paginate and iterate through files | |||
---------------------------------- | |||
|
|||
*PyDrive* provides Pythonic way of paginating and iterating through list of files. All you have to do is to limit number of results with ``maxResults`` parameter and build ``for`` loop retrieving file list from API each iteration. | |||
*PyDrive* provides Pythonic way of paginating and iterating through list of files. | |||
All you have to do is to limit number of results with ``maxResults`` parameter and build ``for`` loop retrieving |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's change the style a bit, please. Something like this should be better:
Here is an example how to do this, maxResults
below defines how many files it retrieves at once and we wrap it into a for
loop to iterate:
@shcheklein I've fixed the wording and resolved conflict |
thanks @tmotyl ! |
I'll release the new version of docs when/if we merge the #148 |
No description provided.