diff --git a/typings/celery/canvas.pyi b/typings/celery/canvas.pyi index cc0f9a6..545d934 100644 --- a/typings/celery/canvas.pyi +++ b/typings/celery/canvas.pyi @@ -40,7 +40,7 @@ class Signature(Dict[str, Any]): shadow: Optional[str] = ..., # apply_async options countdown: float = ..., - eta: datetime = ..., + eta: datetime | None = ..., expires: Union[float, datetime] = ..., retry: bool = ..., retry_policy: Mapping[str, Any] = ..., @@ -77,7 +77,7 @@ class Signature(Dict[str, Any]): shadow: Optional[str] = ..., # apply_async options countdown: float = ..., - eta: datetime = ..., + eta: datetime | None = ..., expires: Union[float, datetime] = ..., retry: bool = ..., retry_policy: Mapping[str, Any] = ..., @@ -103,7 +103,7 @@ class Signature(Dict[str, Any]): shadow: Optional[str] = ..., # apply_async options countdown: float = ..., - eta: datetime = ..., + eta: datetime | None = ..., expires: Union[float, datetime] = ..., retry: bool = ..., retry_policy: Mapping[str, Any] = ..., @@ -143,7 +143,7 @@ class Signature(Dict[str, Any]): shadow: Optional[str] = ..., # apply_async options countdown: float = ..., - eta: datetime = ..., + eta: datetime | None = ..., expires: Union[float, datetime] = ..., retry: bool = ..., retry_policy: Mapping[str, Any] = ..., @@ -201,7 +201,7 @@ class _chain(Signature): link_error: Optional[Signature] = ..., shadow: Optional[str] = ..., countdown: float = ..., - eta: datetime = ..., + eta: datetime | None = ..., expires: Union[float, datetime] = ..., retry: bool = ..., retry_policy: Mapping[str, Any] = ..., @@ -237,7 +237,7 @@ class _basemap(Signature): link_error: Optional[Signature] = ..., shadow: Optional[str] = ..., countdown: float = ..., - eta: datetime = ..., + eta: datetime | None = ..., expires: Union[float, datetime] = ..., retry: bool = ..., retry_policy: Mapping[str, Any] = ..., @@ -275,7 +275,7 @@ class chunks(Signature): link_error: Optional[Signature] = ..., shadow: Optional[str] = ..., countdown: float = ..., - eta: datetime = ..., + eta: datetime | None = ..., expires: Union[float, datetime] = ..., retry: bool = ..., retry_policy: Mapping[str, Any] = ..., @@ -309,7 +309,7 @@ class group(Signature): link_error: Optional[Signature] = ..., shadow: Optional[str] = ..., countdown: float = ..., - eta: datetime = ..., + eta: datetime | None = ..., expires: Union[float, datetime] = ..., retry: bool = ..., retry_policy: Mapping[str, Any] = ..., @@ -350,7 +350,7 @@ class chord(Signature): link_error: Optional[Signature] = ..., shadow: Optional[str] = ..., countdown: float = ..., - eta: datetime = ..., + eta: datetime | None = ..., expires: Union[float, datetime] = ..., retry: bool = ..., retry_policy: Mapping[str, Any] = ...,