Skip to content

Commit 9c2fcd4

Browse files
committed
fix:add type for JOB_METHODS_LIST
1 parent 7f43559 commit 9c2fcd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scheduler/decorators.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from functools import wraps
2-
from typing import Any, Callable, Dict, Optional, Union
2+
from typing import Any, Callable, Dict, Optional, Union, List
33

4-
from scheduler.types import ConnectionType
54
from scheduler.helpers.callback import Callback
5+
from scheduler.types import ConnectionType
66

7-
JOB_METHODS_LIST = list()
7+
JOB_METHODS_LIST: List[str] = list()
88

99

1010
class job:

0 commit comments

Comments
 (0)