From cb97b94ad9b1079b077121c298334afa42d9d23f Mon Sep 17 00:00:00 2001 From: doctorpangloss <2229300+doctorpangloss@users.noreply.github.com> Date: Tue, 4 Nov 2025 18:15:54 -0800 Subject: [PATCH] Unclear why this is throwing linting errors --- comfy/distributed/executors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/distributed/executors.py b/comfy/distributed/executors.py index 5275e76c0..f81a5ac62 100644 --- a/comfy/distributed/executors.py +++ b/comfy/distributed/executors.py @@ -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):