mirror of
https://github.com/maunium/stickerpicker.git
synced 2025-03-12 15:51:24 +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
|