Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""LICENSE
2Copyright 2020 Hermann Krumrey <hermann@krumreyh.com>
4This file is part of jerrycan.
6jerrycan is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation, either version 3 of the License, or
9(at your option) any later version.
11jerrycan is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
16You should have received a copy of the GNU General Public License
17along with jerrycan. If not, see <http://www.gnu.org/licenses/>.
18LICENSE"""
20from flask.blueprints import Blueprint
21from typing import List, Tuple, Callable
22from jerrycan.routes.static import define_blueprint as __static
23from jerrycan.routes.user_management import define_blueprint \
24 as __user_management
25from jerrycan.routes.api.user_management import define_blueprint \
26 as __api_user_management
28blueprint_generators: List[Tuple[Callable[[str], Blueprint], str]] = [
29 (__static, "static"),
30 (__user_management, "user_management"),
31 (__api_user_management, "api_user_management")
32]
33"""
34Defines the functions used to create the various blueprints
35as well as their names
36"""