File: deploy.py

package info (click to toggle)
python-pecan 1.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,268 kB
  • ctags: 2,123
  • sloc: python: 10,456; makefile: 150; sh: 46
file content (9 lines) | stat: -rw-r--r-- 182 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
from .core import load_app


def deploy(config):
    """
    Given a config (dictionary of relative filename), returns a configured
    WSGI app.
    """
    return load_app(config)