File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 12
12
from yatq .exceptions import TaskRescheduleException
13
13
from yatq .queue import Queue
14
14
from yatq .worker .factory .base import BaseJobFactory
15
- from yatq .worker .job .base import BaseJob
15
+ from yatq .worker .job .simple import BaseJob
16
16
from yatq .worker .worker_settings import T_ExcInfo , WorkerSettings
17
17
18
18
LOGGER = logging .getLogger ("yatq.worker" )
Original file line number Diff line number Diff line change 4
4
import aioredis
5
5
6
6
from yatq .worker .factory .simple import SimpleJobFactory
7
- from yatq .worker .job .simple import SimpleJob
7
+ from yatq .worker .job .base import BaseJob
8
8
9
9
T_ExcInfo = Tuple [Type [BaseException ], BaseException , TracebackType ]
10
10
@@ -30,7 +30,7 @@ async def redis_client() -> aioredis.Redis: # pragma: no cover
30
30
31
31
@staticmethod
32
32
async def on_task_process_exception (
33
- job : SimpleJob ,
33
+ job : BaseJob ,
34
34
exc_info : T_ExcInfo ,
35
35
) -> None : # pragma: no cover
36
36
...
You can’t perform that action at this time.
0 commit comments