Skip to content

Commit b647e1e

Browse files
committed
get_session type
1 parent 58488fc commit b647e1e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ jobs:
88
test:
99
uses: Geode-solutions/actions/.github/workflows/py-test-pr.yml@master
1010
with:
11-
npm: true
11+
npm: false
1212
secrets: inherit

src/opengeodeweb_microservice/database/connection.py

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

2626

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

3030

0 commit comments

Comments
 (0)