mirror of
https://github.com/maunium/stickerpicker.git
synced 2025-02-12 01:59:00 +01:00
10 lines
189 B
Python
10 lines
189 B
Python
|
from typing import ClassVar, TYPE_CHECKING
|
||
|
|
||
|
from mautrix.util.async_db import Database
|
||
|
|
||
|
fake_db = Database("") if TYPE_CHECKING else None
|
||
|
|
||
|
|
||
|
class Base:
|
||
|
db: ClassVar[Database] = fake_db
|