Skip to content

Commit

Permalink
importando pacote dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfernandesj committed Sep 23, 2024
1 parent 69a8064 commit 102c47b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/controller/pautaController.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import os
from fastapi_mail import ConnectionConfig, FastMail, MessageSchema, MessageType
from ..domain.models.pautaSchema import EmailSchema
from domain.models.pautaSchema import EmailSchema
from starlette.responses import JSONResponse
from fastapi import APIRouter
from dotenv import load_dotenv
load_dotenv()


pauta = APIRouter(
prefix="/pauta"
Expand Down
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from fastapi import FastAPI


from src.controller import pautaController
from controller import pautaController
# import sys


Expand Down

0 comments on commit 102c47b

Please sign in to comment.