Remove unused imports
This commit is contained in:
parent
d237d3bbc9
commit
d0e9aad1ff
1 changed files with 3 additions and 4 deletions
|
@ -24,7 +24,7 @@ from jinja2 import Template as JinjaTemplate
|
||||||
from mautrix.types import RoomID, EventType, Event
|
from mautrix.types import RoomID, EventType, Event
|
||||||
from mautrix.util.config import BaseProxyConfig, ConfigUpdateHelper
|
from mautrix.util.config import BaseProxyConfig, ConfigUpdateHelper
|
||||||
|
|
||||||
from maubot import Plugin, MessageEvent, Client
|
from maubot import Plugin, MessageEvent
|
||||||
from maubot.handlers import event
|
from maubot.handlers import event
|
||||||
|
|
||||||
|
|
||||||
|
@ -34,15 +34,14 @@ class Config(BaseProxyConfig):
|
||||||
helper.copy("templates")
|
helper.copy("templates")
|
||||||
|
|
||||||
|
|
||||||
variable_regex = re.compile(r"\$\${([0-9A-Za-z-_]+)}")
|
|
||||||
|
|
||||||
|
|
||||||
class Key(str):
|
class Key(str):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
Index = NewType("Index", Union[str, int, Key])
|
Index = NewType("Index", Union[str, int, Key])
|
||||||
|
|
||||||
|
variable_regex = re.compile(r"\$\${([0-9A-Za-z-_]+)}")
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Template:
|
class Template:
|
||||||
|
|
Loading…
Reference in a new issue