We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4655a9e commit 0b157bdCopy full SHA for 0b157bd
1 file changed
src/opengeodeweb_microservice/database/connection.py
@@ -23,7 +23,7 @@ def get_database() -> Optional[SQLAlchemy]:
23
return db
24
25
26
-def get_session():
+def get_session() -> Optional[Session]:
27
return db.session if db else None
28
29
get_database_connection = get_database
0 commit comments