Skip to content
Snippets Groups Projects

Add support for versioned API

Merged Duncan Macleod requested to merge duncanmmacleod/gwdatafind-server:versioned-api into master
Files
5
+ 19
0
# -*- coding: utf-8 -*-
# Copyright (2022) Cardiff University
# Licensed under GPLv3+ - see LICENSE
"""GWDataFind API
"""
__author__ = "Duncan Macleod <duncan.macleod@ligo.org>"
from importlib import import_module
API_VERSIONS = (
"v1",
)
BLUEPRINTS = {}
for _api in API_VERSIONS:
mod = import_module(f".{_api}", package=__name__)
BLUEPRINTS[_api] = mod.blueprint
Loading