Skip to content

Commit

Permalink
[github] Update the docstrings
Browse files Browse the repository at this point in the history
GitHub Backend extracts three categories of information. This 
commit updates the docstrings. 

Signed-off-by: Venu Vardhan Reddy Tekula <[email protected]>
  • Loading branch information
vchrombie authored Feb 12, 2020
1 parent 28d4b13 commit 782a245
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions perceval/backends/core/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def fetch(self, category=CATEGORY_ISSUE, from_date=DEFAULT_DATETIME, to_date=DEF
return items

def fetch_items(self, category, **kwargs):
"""Fetch the items (issues or pull_requests)
"""Fetch the items (issues or pull_requests or repo information)
:param category: the category of items to fetch
:param kwargs: backend arguments
Expand Down Expand Up @@ -264,8 +264,8 @@ def metadata_updated_on(item):
def metadata_category(item):
"""Extracts the category from a GitHub item.
This backend generates two types of item which are
'issue' and 'pull_request'.
This backend generates three types of item which are
'issue', 'pull_request' and 'repo' information.
"""

if "base" in item:
Expand Down

0 comments on commit 782a245

Please sign in to comment.