Skip to content

Commit

Permalink
Change SAViewMixin property from sa_main to sa_main_session
Browse files Browse the repository at this point in the history
  • Loading branch information
ri-gilfanov committed Apr 20, 2021
1 parent a084021 commit 6f70a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp_sqlalchemy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class SAViewMixin:
request: 'Request'

@property
def sa_main(self) -> 'AsyncEngine':
def sa_main_session(self) -> 'AsyncEngine':
return self.request['sa_main']


Expand Down

0 comments on commit 6f70a01

Please sign in to comment.