File: __init__.py

package info (click to toggle)
mautrix-python 0.20.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,812 kB
  • sloc: python: 19,103; makefile: 16
file content (13 lines) | stat: -rw-r--r-- 401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
from mautrix import __optional_imports__

from .abstract import CryptoStore, StateStore
from .memory import MemoryCryptoStore

try:
    from .asyncpg import PgCryptoStateStore, PgCryptoStore
except ImportError:
    if __optional_imports__:
        raise
    PgCryptoStore = PgCryptoStateStore = None

__all__ = ["CryptoStore", "StateStore", "MemoryCryptoStore", "PgCryptoStateStore", "PgCryptoStore"]