Module ImportFrom alias alias Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str Assign NameStore Dict FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str For TupleStore NameStore NameStore Call NameLoad NameLoad body If BoolOpAnd Call NameLoad NameLoad Call NameLoad NameLoad Str NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call NameLoad NameLoad NameLoad attr If CompareIs NameLoad AttributeLoad NameLoad attr body Return Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad ImportFrom alias TryExcept body Expr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return SubscriptLoad AttributeLoad NameLoad attr Slice Num Return SubscriptLoad AttributeLoad NameLoad attr Slice Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub Call NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad If CompareLt Call NameLoad NameLoad NameLoad body Expr Call NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr attr If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareIn NameLoad TupleLoad Str Str body Expr Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad AttributeLoad NameLoad attr TryExcept body If CompareEq Call NameLoad AttributeLoad Call NameLoad NameLoad attr Num body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Return NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Return NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body FunctionDef arguments args defaults body For NameStore TupleLoad Str Str Str Str Str Str body If Call AttributeLoad NameLoad attr NameLoad body Expr Yield Str Break For NameStore TupleLoad Str Str Str Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr NameLoad body Expr Yield NameLoad decorator_list Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad Raise Return NameLoad decorator_list Call NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign TupleStore NameStore NameStore NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad For NameStore TupleLoad Str Str body If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Break If UnaryOpNot NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore BinOpSub Call NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Assign NameStore AttributeLoad Call NameLoad Call NameLoad NameLoad NameLoad attr If NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad UnaryOpNot Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Slice NameLoad Return Call NameLoad NameLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num NameLoad orelse If BoolOpAnd CompareLt NameLoad Call NameLoad NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad If UnaryOpNot Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Slice NameLoad Return Call NameLoad NameLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad If NameLoad body Return TupleLoad NameLoad NameLoad If NameLoad body If Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num body Expr Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If NameLoad body Return Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num NameLoad Expr Call NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad CompareEq NameLoad ListLoad Str body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return TupleLoad NameLoad ListLoad Expr Call NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num If CompareIn NameLoad TupleLoad Str Str Str body If CompareEq NameLoad Str body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return TupleLoad NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If BoolOpAnd NameLoad UnaryOpNot Call NameLoad NameLoad body Return Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad Expr Call NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If BoolOpAnd NameLoad UnaryOpNot Call NameLoad NameLoad body Return Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str If NameLoad body Return TupleLoad NameLoad NameLoad If NameLoad body If Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num body Expr Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If NameLoad body Return Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num NameLoad Expr Call NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If BoolOpAnd NameLoad UnaryOpNot Call NameLoad NameLoad body Return Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return TupleLoad NameLoad NameLoad Expr Call NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore NameLoad NameLoad If NameLoad body If CompareIn NameLoad TupleLoad Str Str body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num orelse Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num If CompareIn Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If NameLoad body Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A inspect ismethod getmembers N/A warnings webob exc N/A six core abort decorators expose routing lookup_controller handle_lookup_traversal util iscontroller getargspec RestController N/A object N/A N/A 
    A base class for ``REST`` based controllers. Inherit from this class
    to implement a REST controller.

    ``RestController`` implements a set of routing functions which override
    the default pecan routing with behavior consistent with RESTful routing.
    This functionality covers navigation to the requested resource
    controllers, and the appropriate handling of both the common (``GET``,
    ``POST``, ``PUT``, ``DELETE``) as well as custom-defined REST action
    methods.

    For more on developing **RESTful** web applications with Pecan, see
    :ref:`rest`.
     N/A _custom_actions N/A __new__ N/A N/A cls N/A args kwargs N/A N/A 
        RestController does not support the `route` argument to
        :func:`~pecan.decorators.expose`

        Implement this with __new__ rather than a metaclass, because it's very
        common for pecan users to mixin RestController (with other bases that
        have their own metaclasses).
         N/A N/A name value N/A getmembers cls N/A N/A N/A N/A iscontroller value N/A getattr value custom_route None N/A N/A N/A ValueError N/A Path segments cannot be used in combination with pecan.rest.RestController.  Remove the `route` argument to @pecan.expose on %s.%s.%s N/A N/A cls __module__ N/A cls __name__ N/A value __name__ N/A new N/A N/A super RestController cls __new__ N/A N/A new N/A object __new__ N/A N/A N/A new cls N/A N/A new cls args kwargs N/A _get_args_for_controller N/A N/A self controller N/A N/A N/A 
        Retrieve the arguments we actually care about.  For Pecan applications
        that utilize thread locals, we should truncate the first argument,
        `self`.  For applications that explicitly pass request/response
        references as the first controller arguments, we should truncate the
        first three arguments, `self, req, resp`.
         N/A argspec N/A getargspec controller pecan request N/A N/A N/A N/A request path N/A N/A N/A AttributeError N/A N/A N/A N/A argspec args N/A 3 N/A N/A N/A argspec args N/A 1 N/A _handle_bad_rest_arguments N/A N/A self controller remainder request N/A N/A N/A 
        Ensure that the argspec for a discovered controller actually matched
        the positional arguments in the request path.  If not, raise
        a webob.exc.HTTPBadRequest.
         N/A argspec N/A N/A self _get_args_for_controller controller N/A fixed_args N/A N/A len argspec N/A len N/A N/A N/A request pecan get routing_args N/A N/A N/A N/A len remainder fixed_args N/A N/A N/A abort 404 N/A _lookup_child N/A N/A self remainder N/A N/A N/A 
        Lookup a child controller with a named path (handling Unicode paths
        properly for Python 2).
         N/A N/A N/A controller N/A getattr self remainder None N/A N/A N/A UnicodeEncodeError N/A N/A None N/A controller N/A _route N/A N/A self args request N/A None N/A N/A 
        Routes a request to the appropriate controller and returns its result.

        Performs a bit of validation - refuses to route delete and put actions
        via a GET request).
         N/A N/A request None N/A pecan request N/A method N/A N/A N/A N/A N/A request params get _method N/A request method lower N/A N/A N/A N/A request method GET N/A method N/A delete put N/A N/A N/A abort 405 N/A result N/A N/A self _find_sub_controllers args request N/A result N/A N/A result N/A handler N/A getattr self N/A _handle_%s method N/A self _handle_unknown_method N/A N/A N/A N/A N/A len N/A N/A getargspec handler args 3 N/A N/A result N/A handler method args N/A N/A result N/A handler method args request N/A argspec N/A N/A self _get_args_for_controller N/A result N/A 0 N/A num_args N/A len argspec N/A N/A num_args N/A len args N/A N/A _lookup_result N/A N/A self _handle_lookup args request N/A _lookup_result N/A N/A _lookup_result N/A N/A N/A N/A N/A exc HTTPClientError N/A exc HTTPNotFound N/A exc HTTPMethodNotAllowed N/A e N/A N/A _lookup_result N/A N/A self _handle_lookup args request N/A _lookup_result N/A N/A _lookup_result N/A N/A isinstance e N/A exc HTTPMethodNotAllowed N/A method_iter N/A N/A N/A N/A N/A func N/A get get_one get_all new edit get_delete N/A N/A N/A N/A self _find_controller func N/A N/A N/A GET N/A N/A method N/A HEAD POST PUT DELETE TRACE PATCH N/A N/A func N/A N/A method lower N/A N/A N/A self _find_controller func N/A N/A N/A method N/A N/A N/A e allow N/A sorted N/A method_iter N/A N/A result N/A N/A expose _handle_lookup N/A N/A self args request N/A None N/A N/A N/A request None N/A N/A N/A N/A self _raise_method_deprecation_warning N/A self handle_lookup N/A args N/A list N/A N/A N/A six moves filter bool args N/A lookup N/A getattr self _lookup None N/A N/A args N/A iscontroller lookup N/A N/A result N/A handle_lookup_traversal lookup args N/A result N/A N/A N/A obj remainder result N/A N/A lookup_controller obj remainder request N/A _find_controller N/A N/A self N/A args N/A N/A 
        Returns the appropriate controller for routing a custom action.
         N/A name args N/A N/A obj N/A N/A self _lookup_child name N/A N/A obj N/A iscontroller obj N/A N/A obj N/A None N/A _find_sub_controllers N/A N/A self remainder request N/A N/A N/A 
        Identifies the correct controller to route to by analyzing the
        request URI.
         N/A method None N/A name N/A get_one get N/A N/A N/A hasattr self name N/A N/A method name N/A N/A N/A method N/A N/A N/A args N/A N/A self _get_args_for_controller N/A getattr self method N/A fixed_args N/A N/A len args N/A len N/A N/A N/A request pecan get routing_args N/A N/A var_args N/A N/A getargspec N/A getattr self method varargs N/A var_args N/A N/A N/A i item N/A enumerate remainder N/A N/A controller N/A N/A self _lookup_child item N/A N/A controller N/A N/A ismethod controller N/A N/A N/A N/A self _set_routing_args request N/A remainder N/A i N/A N/A lookup_controller controller N/A remainder N/A N/A i 1 request N/A N/A N/A N/A fixed_args N/A len remainder N/A hasattr self N/A remainder N/A fixed_args N/A N/A controller N/A N/A self _lookup_child N/A remainder N/A fixed_args N/A N/A N/A ismethod controller N/A N/A N/A N/A self _set_routing_args request N/A remainder N/A fixed_args N/A N/A lookup_controller controller N/A remainder N/A N/A fixed_args 1 request N/A _handle_unknown_method N/A N/A self method remainder request N/A None N/A N/A 
        Routes undefined actions (like RESET) to the appropriate controller.
         N/A N/A request None N/A N/A N/A N/A self _raise_method_deprecation_warning N/A self _handle_unknown_method N/A controller N/A N/A self _find_controller N/A post_%s method method N/A controller N/A N/A N/A controller remainder N/A remainder N/A N/A N/A N/A self _find_controller N/A remainder N/A 0 N/A N/A N/A abort 405 N/A sub_controller N/A N/A self _lookup_child N/A remainder N/A 0 N/A sub_controller N/A N/A N/A lookup_controller sub_controller N/A remainder N/A 1 request N/A N/A abort 405 N/A _handle_get N/A N/A self method remainder request N/A None N/A N/A 
        Routes ``GET`` actions to the appropriate controller.
         N/A N/A request None N/A N/A N/A N/A self _raise_method_deprecation_warning N/A self _handle_get N/A N/A N/A remainder N/A remainder N/A N/A N/A remainder N/A list N/A N/A N/A six moves filter bool remainder N/A controller N/A N/A self _find_controller get_all get N/A controller N/A N/A N/A N/A self _handle_bad_rest_arguments controller remainder request N/A N/A controller N/A N/A N/A abort 405 N/A method_name N/A remainder N/A -1 N/A N/A method_name N/A new edit delete N/A N/A N/A method_name delete N/A N/A method_name get_delete N/A controller N/A N/A self _find_controller method_name N/A controller N/A N/A N/A controller N/A remainder N/A -1 N/A match N/A N/A self _handle_custom_action method remainder request N/A match N/A N/A match N/A controller N/A N/A self _lookup_child N/A remainder N/A 0 N/A N/A controller N/A N/A ismethod controller N/A N/A N/A lookup_controller controller N/A remainder N/A 1 request N/A controller N/A N/A self _find_controller get_one get N/A controller N/A N/A N/A N/A self _handle_bad_rest_arguments controller remainder request N/A N/A controller remainder N/A N/A abort 405 N/A _handle_delete N/A N/A self method remainder request N/A None N/A N/A 
        Routes ``DELETE`` actions to the appropriate controller.
         N/A N/A request None N/A N/A N/A N/A self _raise_method_deprecation_warning N/A self _handle_delete N/A remainder N/A N/A match N/A N/A self _handle_custom_action method remainder request N/A match N/A N/A match N/A controller N/A N/A self _lookup_child N/A remainder N/A 0 N/A N/A controller N/A N/A ismethod controller N/A N/A N/A lookup_controller controller N/A remainder N/A 1 request N/A controller N/A N/A self _find_controller post_delete delete N/A controller N/A N/A N/A controller remainder N/A remainder N/A N/A N/A N/A self _find_controller N/A remainder N/A 0 N/A N/A N/A abort 405 N/A sub_controller N/A N/A self _lookup_child N/A remainder N/A 0 N/A sub_controller N/A N/A N/A lookup_controller sub_controller N/A remainder N/A 1 request N/A N/A abort 405 N/A _handle_post N/A N/A self method remainder request N/A None N/A N/A 
        Routes ``POST`` requests.
         N/A N/A request None N/A N/A N/A N/A self _raise_method_deprecation_warning N/A self _handle_post N/A remainder N/A N/A match N/A N/A self _handle_custom_action method remainder request N/A match N/A N/A match N/A controller N/A N/A self _lookup_child N/A remainder N/A 0 N/A N/A controller N/A N/A ismethod controller N/A N/A N/A lookup_controller controller N/A remainder N/A 1 request N/A controller N/A N/A self _find_controller method N/A controller N/A N/A N/A controller remainder N/A N/A abort 405 N/A _handle_put N/A N/A self method remainder request N/A None N/A N/A N/A N/A self _handle_post method remainder request N/A _handle_custom_action N/A N/A self method remainder request N/A None N/A N/A N/A request None N/A N/A N/A N/A self _raise_method_deprecation_warning N/A self _handle_custom_action N/A remainder N/A r N/A r remainder r N/A remainder N/A N/A N/A method N/A put delete N/A N/A method_name N/A remainder N/A 0 N/A remainder N/A remainder N/A 1 N/A N/A method_name N/A remainder N/A -1 N/A remainder N/A remainder N/A -1 N/A N/A N/A N/A method upper N/A N/A N/A self _custom_actions get method_name N/A N/A N/A controller N/A N/A self _find_controller N/A %s_%s N/A method method_name method_name N/A controller N/A N/A N/A controller remainder N/A _set_routing_args N/A N/A self request args N/A N/A N/A 
        Sets default routing arguments.
         N/A N/A N/A N/A N/A N/A request pecan setdefault routing_args N/A extend args N/A _raise_method_deprecation_warning N/A N/A self handler N/A N/A N/A N/A N/A warnings warn N/A The function signature for %s.%s.%s is changing in the next version of pecan.
Please update to: `%s(self, method, remainder, request)`. N/A N/A N/A self __class__ __module__ N/A N/A self __class__ __name__ N/A handler __name__ N/A handler __name__ DeprecationWarning N/A N/A