feat(config): load repo-root .env via python-dotenv
All checks were successful
python-syntax / syntax-check (push) Successful in 4s
All checks were successful
python-syntax / syntax-check (push) Successful in 4s
This commit is contained in:
@@ -5,10 +5,13 @@ import time
|
||||
import uuid
|
||||
from typing import Literal, Optional
|
||||
|
||||
from dotenv import load_dotenv
|
||||
from fastapi import Depends, FastAPI, Header, HTTPException, Response
|
||||
from pydantic import BaseModel, Field, model_validator
|
||||
|
||||
|
||||
load_dotenv(dotenv_path=".env", override=False)
|
||||
|
||||
app = FastAPI(title="clickthrough", version="0.1.0")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user