mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Some typing methods seem not to be supported by Python 3.7, removed them
This commit is contained in:
parent
3af943b102
commit
6215cb81bf
|
@ -21,8 +21,7 @@ from typing import Optional, Callable
|
|||
|
||||
logger = logging.getLogger("src.api.formatter")
|
||||
|
||||
def _register_formatter(func: Callable[[dict], DiscordMessage], kwargs: dict[str, str], formatter_type: str,
|
||||
action_type: Optional[str]=None):
|
||||
def _register_formatter(func, kwargs, formatter_type: str, action_type=None):
|
||||
"""
|
||||
Registers a formatter inside of src.rcgcdw.formatter_hooks
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue