forked from ProfessionalUwU/stickerpicker
Add server with basic auth stuff
This commit is contained in:
9
sticker/server/database/base.py
Normal file
9
sticker/server/database/base.py
Normal file
@ -0,0 +1,9 @@
|
||||
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
|
Reference in New Issue
Block a user