Skip to content

Commit

Permalink
Update overview
Browse files Browse the repository at this point in the history
  • Loading branch information
ri-gilfanov committed Jun 10, 2021
1 parent abaf764 commit 9c0edf2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
12 changes: 4 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,10 @@ SQLAlchemy 1.4 / 2.0 support for aiohttp.

The library provides the next features:

* forwarding SQLAlchemy asynchronous sessions for function handlers, class
organized handlers, and class based view methods;
* a middleware factory ``sa_middleware(key: str = 'sa_main')'`` for forwarding
sessions as ``request[key]`` for all your request handlers;
* a decorator ``sa_decorator(key: str = 'sa_main')`` for forwarding sessions
as ``request[key]`` for your chosen handlers;
* a parent class ``SAView`` for forwarding sessions as
``SAView.sa_session(key: str = 'sa_main')`` method.
* initializing asynchronous sessions through a middlewares;
* initializing asynchronous sessions through a decorators;
* simple access to one asynchronous session by default key;
* support for different types of request handlers.


Documentation
Expand Down
12 changes: 4 additions & 8 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,10 @@ SQLAlchemy 1.4 / 2.0 support for aiohttp.

The library provides the next features:

* forwarding SQLAlchemy asynchronous sessions for function handlers, class
organized handlers, and class based view methods;
* a middleware factory ``sa_middleware(key: str = 'sa_main')'`` for forwarding
sessions as ``request[key]`` for all your request handlers;
* a decorator ``sa_decorator(key: str = 'sa_main')`` for forwarding sessions
as ``request[key]`` for your chosen handlers;
* a parent class ``SAView`` for forwarding sessions as
``SAView.sa_session(key: str = 'sa_main')`` method.
* initializing asynchronous sessions through a middlewares;
* initializing asynchronous sessions through a decorators;
* simple access to one asynchronous session by default key;
* support for different types of request handlers.


Installation
Expand Down

0 comments on commit 9c0edf2

Please sign in to comment.