From eab0171a2434b2869cc507bf8f31d1b1a3d949c9 Mon Sep 17 00:00:00 2001 From: Primakov Alexandr Alexandrovich Date: Mon, 13 Oct 2025 00:43:21 +0300 Subject: [PATCH] Fix: Add AsyncSessionLocal alias for compatibility --- backend/app/database.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/app/database.py b/backend/app/database.py index 5f70785..f445223 100644 --- a/backend/app/database.py +++ b/backend/app/database.py @@ -18,6 +18,9 @@ async_session_maker = async_sessionmaker( expire_on_commit=False ) +# Alias for compatibility +AsyncSessionLocal = async_session_maker + # Base class for models Base = declarative_base()