summaryrefslogtreecommitdiff
path: root/ickapi/app.py
blob: 25ea6497dfb04b844b3240d224b9266ebb7ec8a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Web application module.

Provides methods for creating and configuring aiohhtp web application.
"""

import aiohttp

import ickapi


def create_app():
    """Create a web app to be passed to a server."""
    app = aiohttp.web.Application()

    ickapi.setup_routes(app)

    return app