Commit e89cb1ab authored by Philipp Hörist's avatar Philipp Hörist
Browse files

chore: Helpers: Add type annotations

parent f3034862
......@@ -913,10 +913,10 @@ def timeout_wrapper():
return delay_execution_decorator
def event_filter(filter_):
def event_filter_decorator(func):
def event_filter(filter_: Any):
def event_filter_decorator(func: Any) -> Any:
def func_wrapper(self, event, *args, **kwargs):
def func_wrapper(self, event: Any, *args: Any, **kwargs: Any) -> Any:
for attr in filter_:
if '=' in attr:
attr1, attr2 = attr.split('=')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment