diff --git a/croterline/process.py b/croterline/process.py index 5cf6ac6..8aad797 100644 --- a/croterline/process.py +++ b/croterline/process.py @@ -13,7 +13,12 @@ _current_ctx: "Context | None" = None # 注入当前进程上下文 class SubProcess: def __init__( - self, name: str, func: ProcessFuncType, ctx: Context = Context(), *args, **kwargs + self, + name: str, + func: ProcessFuncType, + ctx: Context = Context(), + *args, + **kwargs, ): self.name = name self.func = func