homeapi/app/extensions.py

13 lines
319 B
Python
Raw Permalink Normal View History

2023-10-29 11:15:51 +01:00
"""Creates the framework objects"""
from flask_sqlalchemy import SQLAlchemy
from flask_restx import Api
api = Api(title = 'elfrinjo\'s Home API',
version = '1.0',
contact = 'code@elfring.ms',
description = 'https://code.elfring.ms/elfrinjo/homeapi'
)
db = SQLAlchemy()