Commit 3bd0f3d8 authored by Iustin Pop's avatar Iustin Pop
Browse files

Small fixup to rapi docstrings



The fast that most classes don't override the @cvars means that direct
references to FillOpcode can fail (they do on my workstation, but not
on buildbot?). Anyway, for safety, it's best to qualify the name.

Additionally a small typo is fixed.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 09cbac87
#
#
# Copyright (C) 2006, 2007, 2008 Google Inc.
# Copyright (C) 2006, 2007, 2008, 2012 Google Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -469,33 +469,33 @@ class OpcodeResource(ResourceBase):
is defined at class level. Subclasses can define a C{Get$Method$OpInput}
method to do their own opcode input processing (e.g. for static values). The
C{$METHOD$_RENAME} variable defines which values are renamed (see
L{FillOpcode}).
L{baserlib.FillOpcode}).
@cvar GET_OPCODE: Set this to a class derived from L{opcodes.OpCode} to
automatically generate a GET handler submitting the opcode
@cvar GET_RENAME: Set this to rename parameters in the GET handler (see
L{FillOpcode})
L{baserlib.FillOpcode})
@ivar GetGetOpInput: Define this to override the default method for
getting opcode parameters (see L{baserlib.OpcodeResource._GetDefaultData})
@cvar PUT_OPCODE: Set this to a class derived from L{opcodes.OpCode} to
automatically generate a PUT handler submitting the opcode
@cvar PUT_RENAME: Set this to rename parameters in the PUT handler (see
L{FillOpcode})
L{baserlib.FillOpcode})
@ivar GetPutOpInput: Define this to override the default method for
getting opcode parameters (see L{baserlib.OpcodeResource._GetDefaultData})
@cvar POST_OPCODE: Set this to a class derived from L{opcodes.OpCode} to
automatically generate a POST handler submitting the opcode
@cvar POST_RENAME: Set this to rename parameters in the DELETE handler (see
L{FillOpcode})
L{baserlib.FillOpcode})
@ivar GetPostOpInput: Define this to override the default method for
getting opcode parameters (see L{baserlib.OpcodeResource._GetDefaultData})
@cvar DELETE_OPCODE: Set this to a class derived from L{opcodes.OpCode} to
automatically generate a GET handler submitting the opcode
@cvar DELETE_RENAME: Set this to rename parameters in the DELETE handler (see
L{FillOpcode})
L{baserlib.FillOpcode})
@ivar GetDeleteOpInput: Define this to override the default method for
getting opcode parameters (see L{baserlib.OpcodeResource._GetDefaultData})
......
......@@ -1281,7 +1281,7 @@ class R_2_query_fields(baserlib.ResourceBase):
class _R_Tags(baserlib.OpcodeResource):
""" Quasiclass for tagging resources
"""Quasiclass for tagging resources.
Manages tags. When inheriting this class you must define the
TAG_LEVEL for it.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment