1
0
Fork 0

fix non-generic types

This commit is contained in:
Sean Sube 2023-02-04 16:57:00 -06:00
parent 5c07fff8b4
commit d75cd50a62
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ from collections import Counter
from concurrent.futures import Future, ThreadPoolExecutor, ProcessPoolExecutor
from logging import getLogger
from multiprocessing import Value
from typing import Any, Callable, Dict, List, Optional, Tuple, Union
from typing import Any, Callable, List, Optional, Tuple, Union
from .params import (
DeviceParams,
@ -12,11 +12,11 @@ logger = getLogger(__name__)
class JobContext:
cancel: Value[bool] = None
device_index: Value[int] = None
cancel: Value = None
device_index: Value = None
devices: List[DeviceParams] = None
key: str = None
progress: Value[int] = None
progress: Value = None
def __init__(
self,