From b5a3828d911ce0abec37494aaefd16b028fce0dc Mon Sep 17 00:00:00 2001 From: Sylvain Leclerc Date: Tue, 3 Sep 2024 16:36:01 +0200 Subject: [PATCH] Remove duplicate imports Signed-off-by: Sylvain Leclerc --- antarest/utils.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/antarest/utils.py b/antarest/utils.py index c0ecffbcca..c1a6c9166c 100644 --- a/antarest/utils.py +++ b/antarest/utils.py @@ -20,17 +20,9 @@ import uvicorn # type: ignore from fastapi import FastAPI from ratelimit import RateLimitMiddleware # type: ignore -from ratelimit import RateLimitMiddleware # type: ignore -from ratelimit.backends.redis import RedisBackend # type: ignore -from ratelimit.backends.redis import RedisBackend # type: ignore -from ratelimit.backends.redis import RedisBackend # type: ignore from ratelimit.backends.redis import RedisBackend # type: ignore from ratelimit.backends.simple import MemoryBackend # type: ignore -from ratelimit.backends.simple import MemoryBackend # type: ignore -from ratelimit.backends.simple import MemoryBackend # type: ignore -from ratelimit.backends.simple import MemoryBackend # type: ignore -from sqlalchemy import create_engine # type: ignore -from sqlalchemy import create_engine # type: ignore +from sqlalchemy import create_engine from sqlalchemy.engine.base import Engine # type: ignore from sqlalchemy.pool import NullPool # type: ignore