Skip to content

Commit 0b157bd

Browse files
committed
mypy
1 parent 4655a9e commit 0b157bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/opengeodeweb_microservice/database/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_database() -> Optional[SQLAlchemy]:
2323
return db
2424

2525

26-
def get_session():
26+
def get_session() -> Optional[Session]:
2727
return db.session if db else None
2828

2929
get_database_connection = get_database

0 commit comments

Comments
 (0)