fix: fixed issue that creyPY couldn't be used without PSQL

This commit is contained in:
2025-02-19 10:27:51 +01:00
parent 50b444be89
commit 5e16bd5cbc

View File

@@ -1,3 +1,8 @@
from .async_session import * # noqa
from .helpers import * # noqa
from .session import * # noqa
try:
import sqlalchemy
from .async_session import *
from .helpers import *
from .session import *
except ImportError:
print("SQLAlchemy not installed. Database functionality will be disabled.")