felicity-lims/felicity/main.py
Aurthur Musendame 6e5b38a594 minor refactors'
2023-12-30 13:42:48 +02:00

24 lines
507 B
Python

"""Note:
- The felicity app must be creaed first before importing other modules.
- This is important to register felicity in sanic registry
"""
from fastapi import FastAPI
from lims import register_felicity
description = """
Felicity LIMS API helps you do awesome stuff. 🚀
You will be able to:
...
"""
felicity = FastAPI(
title="Felicity LIMS",
description=description,
# root_path="api/v1",
# version="1.0.0",
# openapi_url="/openapi.json"
)
register_felicity(felicity)