From bfa754e21e2cc1d5b0d7cabf24933a6c3afc315e Mon Sep 17 00:00:00 2001 From: Till Backhaus Date: Wed, 4 Dec 2024 14:33:45 +0100 Subject: [PATCH] Fixes import of uvicorn server. (encode/uvicorn#2527) (#2528) --- uvicorn/workers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uvicorn/workers.py b/uvicorn/workers.py index 061805b6c..06fdf295e 100644 --- a/uvicorn/workers.py +++ b/uvicorn/workers.py @@ -11,7 +11,7 @@ from gunicorn.workers.base import Worker from uvicorn.config import Config -from uvicorn.main import Server +from uvicorn.server import Server warnings.warn( "The `uvicorn.workers` module is deprecated. Please use `uvicorn-worker` package instead.\n"