mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-05-01 21:00:43 +00:00
refactor: move environment variables loading to application entry point (#283)
This commit is contained in:
parent
5d5b6bd035
commit
60566c9c4d
2 changed files with 4 additions and 3 deletions
|
|
@ -1,3 +1,7 @@
|
|||
# Load environment variables
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
|
||||
from contextlib import asynccontextmanager
|
||||
|
||||
from fastapi import FastAPI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue