Skip to content

Commit

Permalink
[#1360] Update package_update docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelbabu committed Jan 1, 2014
1 parent 46752e5 commit 46c53d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ckan/logic/action/update.py
Expand Up @@ -242,13 +242,15 @@ def package_update(context, data_dict):
'''Update a dataset (package).
You must be authorized to edit the dataset and the groups that it belongs
to.
to. It is recommended to call
:py:func:`ckan.logic.action.get.package_show`, make the desired changes to
the result, and then call ``package_update()`` with it.
Plugins may change the parameters of this function depending on the value
of the dataset's ``type`` attribute, see the ``IDatasetForm`` plugin
interface.
For further parameters see ``package_create()``.
For further parameters see :py:func:`ckan.logic.action.create.package_create()`.
:param id: the name or id of the dataset to update
:type id: string
Expand Down

0 comments on commit 46c53d5

Please sign in to comment.