Module ImportFrom alias alias alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias identifier Import alias Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body If NameLoad body TryExcept body ImportFrom alias Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type NameLoad body Pass If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Num Expr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Str Dict If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Str Dict Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str ListLoad attr Lambda arguments args NameParam defaults Dict Str Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr Str Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr ListLoad Str Str Str Str NameLoad Return NameLoad decorator_list
N/A core abort override_template Pecan Request Response load_app redirect render request response decorators expose hooks RequestViewerHook middleware.debug DebugMiddleware middleware.errordocument ErrorDocumentMiddleware middleware.recursive RecursiveMiddleware middleware.static StaticFileMiddleware routing route configuration set_config Config configuration _runtime_conf conf N/A middleware N/A N/A logging.config dictConfig load_logging_config N/A N/A N/A ImportError N/A logutils.dictconfig dictConfig load_logging_config N/A warnings N/A __all__ N/A make_app load_app Pecan Request Response request response override_template expose conf set_config render abort redirect route make_app N/A N/A root N/A kw N/A N/A 
    Utility for creating the Pecan application object.  This function should
    generally be called from the ``setup_app`` function in your project's
    ``app.py`` file.

    :param root: A string representing a root controller object (e.g.,
                 "myapp.controller.root.RootController")
    :param static_root: The relative path to a directory containing static
                        files.  Serving static files is only enabled when
                        debug mode is set.
    :param debug: A flag to enable debug mode.  This enables the debug
                  middleware and serving static files.
    :param wrap_app: A function or middleware class to wrap the Pecan app.
                     This must either be a wsgi middleware class or a
                     function that returns a wsgi application. This wrapper
                     is applied first before wrapping the application in
                     other middlewares such as Pecan's debug middleware.
                     This should be used if you want to use middleware to
                     perform authentication or intercept all requests before
                     they are routed to the root controller.
    :param logging: A dictionary used to configure logging.  This uses
                    ``logging.config.dictConfig``.

    All other keyword arguments are passed in to the Pecan app constructor.

    :returns: a ``Pecan`` object.
     N/A logging N/A N/A kw get logging N/A N/A debug N/A N/A kw get debug False N/A logging N/A N/A debug N/A N/A N/A logging captureWarnings N/A N/A captureWarnings True N/A N/A N/A warnings simplefilter default DeprecationWarning N/A N/A N/A ImportError N/A N/A N/A N/A isinstance logging Config N/A N/A logging N/A N/A logging to_dict N/A N/A version logging N/A N/A N/A logging N/A version 1 N/A N/A load_logging_config logging N/A app N/A Pecan root kw N/A wrap_app N/A N/A kw get wrap_app None N/A wrap_app N/A N/A app N/A wrap_app app N/A errors N/A N/A kw get errors N/A getattr N/A conf app errors N/A N/A errors N/A N/A app N/A N/A N/A middleware errordocument ErrorDocumentMiddleware app errors N/A app N/A N/A N/A middleware recursive RecursiveMiddleware app N/A static_root N/A N/A kw get static_root None N/A debug N/A N/A debug_kwargs N/A getattr conf debug N/A N/A N/A N/A N/A N/A debug_kwargs setdefault context_injectors N/A append N/A N/A N/A environ N/A N/A request N/A N/A N/A N/A environ get pecan.locals N/A get request N/A app N/A DebugMiddleware app debug_kwargs N/A static_root N/A N/A app N/A N/A N/A middleware static StaticFileMiddleware app static_root N/A N/A static_root N/A N/A N/A N/A warnings warn `static_root` is only used when `debug` is True, ignoring RuntimeWarning N/A N/A hasattr conf requestviewer N/A N/A N/A N/A warnings warn N/A N/A join N/A `pecan.conf.requestviewer` is deprecated.  To apply the  `RequestViewerHook` to your application, add it to  `pecan.conf.app.hooks` or manually in your project's `app.py`  file. DeprecationWarning N/A app N/A