diff --git a/celery-stubs/canvas.pyi b/celery-stubs/canvas.pyi index dcf7460..6f630bb 100644 --- a/celery-stubs/canvas.pyi +++ b/celery-stubs/canvas.pyi @@ -18,6 +18,10 @@ _F = TypeVar("_F", bound=Callable[..., Any]) _R = TypeVar("_R") class Signature(dict[str, Any], Generic[_R]): + @classmethod + def from_dict( + cls, d: dict[str, Any], app: Celery | None = ... + ) -> Signature[Any]: ... def __init__( self, task: Task[Any, _R] | str | None = ...,