Latest Version: 0.9.6.2

Controller


Attributes

a __pudge_all__

['_inspect_call', '__call__', '_get_method_args', '_dispatch_call']

Methods

f __call__(self, *args, **kwargs) ...

f __init__(self, *args, **kwargs) ...

f _dispatch_call(self) ...

Handles dispatching the request to the function using Routes

f _get_method_args(self) ...

Retrieve the method arguments to use with inspect call

By default, this uses Routes to retrieve the arguments, override this method to customize the arguments your controller actions are called with.

f _inspect_call(self, func) ...

Calls a function with arguments from _get_method_args

Given a function, inspect_call will inspect the function args and call it with no further keyword args than it asked for.

If the function has been decorated, it is assumed that the decorator preserved the function signature.

See the source for more information.

Top