Skip to content

Commit 8cf9da7

Browse files
Fix async orm provider session (#78)
1 parent 20afff1 commit 8cf9da7

File tree

6 files changed

+473
-81
lines changed

6 files changed

+473
-81
lines changed

docs/async_orm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ class ExamplesService:
265265

266266
def __init__(self):
267267
self.orm_config = config
268-
self.session = self.orm_config.session
268+
self.session = self.orm_config.get_session
269269

270270
@async_db_request_handler
271271
async def add_examples(self, examples: Examples):

0 commit comments

Comments
 (0)