Skip to content
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 a docstring for the time_range #1040

Merged
merged 2 commits into from Sep 4, 2020
Merged

Add a docstring for the time_range #1040

merged 2 commits into from Sep 4, 2020

Conversation

mayhem
Copy link
Member

@mayhem mayhem commented Aug 17, 2020

As it says on the tin...

@pep8speaks
Copy link

pep8speaks commented Aug 17, 2020

Hello @mayhem! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 98:131: E501 line too long (168 > 130 characters)
Line 99:76: W291 trailing whitespace

Comment last updated at 2020-09-04 07:59:04 UTC

@mayhem mayhem requested a review from paramsingh August 17, 2020 12:33
@@ -95,6 +95,9 @@ def get_listens(user_name):
:param max_ts: If you specify a ``max_ts`` timestamp, listens with listened_at less than (but not including) this value will be returned.
:param min_ts: If you specify a ``min_ts`` timestamp, listens with listened_at greater than (but not including) this value will be returned.
:param count: Optional, number of listens to return. Default: :data:`~webserver.views.api.DEFAULT_ITEMS_PER_GET` . Max: :data:`~webserver.views.api.MAX_ITEMS_PER_GET`
:param time_range: This parameter determines the time range the listen search. Each increment of the time_range corresponds to a range of 5 days and the default
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the time range the listen search

the time range of the listen search?

@paramsingh paramsingh merged commit c4623d6 into master Sep 4, 2020
@paramsingh paramsingh deleted the document-time-range branch September 4, 2020 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants