Skip to content

Commit

Permalink
Merge pull request #3099 from torfsen/3097-improve-get_action-docs
Browse files Browse the repository at this point in the history
Fix #3097: Improve documentation of `get_action`.
  • Loading branch information
wardi committed Jun 9, 2016
2 parents db1760a + ec04d6d commit 997b06c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ckan/logic/__init__.py
Expand Up @@ -343,6 +343,12 @@ def get_action(action):
If a ``context`` of ``None`` is passed to the action function then the
default context dict will be created.
.. note::
Many action functions modify the context dict. It can therefore
not be reused for multiple calls of the same or different action
functions.
:param action: name of the action function to return,
eg. ``'package_create'``
:type action: string
Expand Down

0 comments on commit 997b06c

Please sign in to comment.