File: session.rst

package info (click to toggle)
python-advanced-alchemy 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,848 kB
  • sloc: python: 35,975; makefile: 153; sh: 4
file content (35 lines) | stat: -rw-r--r-- 709 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
================
Session Backends
================

.. currentmodule:: advanced_alchemy.extensions.litestar.session

This module provides SQLAlchemy-based session backends for Litestar's server-side session middleware.

Session Model Mixin
===================

.. autoclass:: SessionModelMixin
    :members:
    :show-inheritance:

Session Backend Base
====================

.. autoclass:: SQLAlchemySessionBackendBase
    :members:
    :show-inheritance:

Async Session Backend
=====================

.. autoclass:: SQLAlchemyAsyncSessionBackend
    :members:
    :show-inheritance:

Sync Session Backend
====================

.. autoclass:: SQLAlchemySyncSessionBackend
    :members:
    :show-inheritance: