From 821e670fd5d19f37ae26a7a9b3594a2131ba19c4 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 11 Dec 2020 20:14:23 +0200 Subject: [PATCH] Fix type hint --- reactbot/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactbot/template.py b/reactbot/template.py index 8b003ac..13ee593 100644 --- a/reactbot/template.py +++ b/reactbot/template.py @@ -76,7 +76,7 @@ class Template: tpl = tpl[:match.start()] + val + tpl[match.end():] return tpl - def execute(self, evt: Event, rule_vars: Dict[str, JinjaTemplate], extra_vars: Dict[str, str] + def execute(self, evt: Event, rule_vars: Dict[str, Any], extra_vars: Dict[str, str] ) -> Dict[str, Any]: variables = extra_vars for name, template in chain(rule_vars.items(), self.variables.items()):