mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
13 lines
283 B
Python
13 lines
283 B
Python
from flask import Blueprint
|
|
import os
|
|
import yaml
|
|
|
|
|
|
services_file = \
|
|
os.path.join(os.path.dirname(os.path.abspath(__file__)), 'services.yml')
|
|
with open(services_file, 'r') as f:
|
|
SERVICES = yaml.safe_load(f)
|
|
|
|
bp = Blueprint('services', __name__)
|
|
from . import routes # noqa
|