The panko.api.hooks Module

class panko.api.hooks.ConfigHook(conf)[source]

Bases: pecan.hooks.PecanHook

Attach the configuration object to the request.

That allows controllers to get it.

before(state)[source]
class panko.api.hooks.DBHook(conf)[source]

Bases: pecan.hooks.PecanHook

before(state)[source]
class panko.api.hooks.TranslationHook[source]

Bases: pecan.hooks.PecanHook

after(state)[source]

Previous topic

The panko.api.controllers.v2.utils Module

Next topic

The panko.api.middleware Module

Project Source

This Page