mirror of
https://github.com/maunium/stickerpicker
synced 2024-10-18 02:14:06 +00:00
9 lines
189 B
Python
9 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
|