mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 06:10:50 +08:00
Unclear why this is throwing linting errors
This commit is contained in:
parent
4b336543db
commit
cb97b94ad9
@ -13,7 +13,7 @@ class ContextVarExecutor(ThreadPoolExecutor):
|
||||
def submit(self, fn: typing.Callable, *args, **kwargs) -> Future:
|
||||
ctx = contextvars.copy_context() # type: contextvars.Context
|
||||
|
||||
return super().submit(partial(ctx.run, partial(fn, *args, **kwargs)))
|
||||
return super().submit(partial(ctx.run, partial(fn, *args, **kwargs))) # pylint: disable=no-member
|
||||
|
||||
|
||||
class ContextVarProcessPoolExecutor(ProcessPoolExecutor):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user