Docs link to ACTIONS

The reference to the ACTIONS property should render as a link to the
property so that it's easier for users to figure out what the
values are.

Change-Id: I67cce0cd90e051852447a24263b026ce917ad237
This commit is contained in:
Brant Knudson 2015-07-19 10:38:48 -05:00
parent 90a084b5fd
commit 6c15621fbd
1 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@ _ACTIONS = collections.namedtuple(
'created, deleted, disabled, updated, internal') 'created, deleted, disabled, updated, internal')
ACTIONS = _ACTIONS(created='created', deleted='deleted', disabled='disabled', ACTIONS = _ACTIONS(created='created', deleted='deleted', disabled='disabled',
updated='updated', internal='internal') updated='updated', internal='internal')
"""The actions on resources."""
CADF_TYPE_MAP = { CADF_TYPE_MAP = {
'group': taxonomy.SECURITY_GROUP, 'group': taxonomy.SECURITY_GROUP,
@ -301,7 +302,7 @@ def listener(cls):
is a dictionary where the key is the type of event and the value is a is a dictionary where the key is the type of event and the value is a
dictionary containing a mapping of resource types to callback(s). dictionary containing a mapping of resource types to callback(s).
``keystone.notifications.ACTIONS`` contains constants for the currently :data:`.ACTIONS` contains constants for the currently
supported events. There is currently no single place to find constants for supported events. There is currently no single place to find constants for
the resource types. the resource types.