morepath.app – App class

Here we define the Morepath application class: morepath.App. The application class makes available the directives to the developer. When instantiated it is a WSGI application that can be hooked into WSGI servers.

Because it is a dectate.App subclass, the class object has two special class attributes: dectate.App.dectate, which contains Dectate internals, and dectate.App.config which contains the actual configurations.

To actually serve requests it uses morepath.publish.publish().

Entirely documented in morepath.App in the public API.