From 390bafd0326cdf53472cf52fed5a0f427687861d Mon Sep 17 00:00:00 2001 From: Pedro Nascimento Date: Tue, 16 Jan 2024 14:02:41 -0300 Subject: [PATCH] Remove unused import in main.py and fix import in entities.py --- api/app/main.py | 2 +- api/app/routers/entities.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/app/main.py b/api/app/main.py index d54ae96b..cf947187 100644 --- a/api/app/main.py +++ b/api/app/main.py @@ -9,7 +9,7 @@ from app import config from app.db import TORTOISE_ORM -from app.routers import auth, entities_mrg, entities_raw, entities_std, users, entities +from app.routers import auth, entities_mrg, entities_raw, entities_std, entities logger.remove() logger.add(sys.stdout, level=config.LOG_LEVEL) diff --git a/api/app/routers/entities.py b/api/app/routers/entities.py index 84cbe474..f0688fac 100644 --- a/api/app/routers/entities.py +++ b/api/app/routers/entities.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from typing import Annotated -from fastapi import APIRouter, Depends, HTTPException +from fastapi import APIRouter, Depends from tortoise.contrib.pydantic import pydantic_model_creator from app.dependencies import get_current_active_user