Skip to content

Commit

Permalink
[#1179] doc strings for package_list
Browse files Browse the repository at this point in the history
  • Loading branch information
joetsoi committed Aug 13, 2013
1 parent cab2d87 commit 7c95094
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ckan/logic/action/get.py
Expand Up @@ -64,6 +64,13 @@ def site_read(context,data_dict=None):
def package_list(context, data_dict):
'''Return a list of the names of the site's datasets (packages).
:param limit: if given, the list of datasets will be broken into pages of
at most ``limit`` datasets per page and only one page will be returned
at a time (optional)
:type limit: int
:param offset: when ``limit`` is given, the offset to start returning packages from
:type offset: int
:rtype: list of strings
'''
Expand Down

0 comments on commit 7c95094

Please sign in to comment.