From 32433b47b6d7a934c8e774e9a10f758cc76da941 Mon Sep 17 00:00:00 2001 From: Illviljan <14371165+Illviljan@users.noreply.github.com> Date: Thu, 22 Aug 2024 22:36:45 +0200 Subject: [PATCH] Update _statistical_functions.py --- xarray/namedarray/_array_api/_statistical_functions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xarray/namedarray/_array_api/_statistical_functions.py b/xarray/namedarray/_array_api/_statistical_functions.py index 09c7f6da0a7..40bc490fb0d 100644 --- a/xarray/namedarray/_array_api/_statistical_functions.py +++ b/xarray/namedarray/_array_api/_statistical_functions.py @@ -162,6 +162,7 @@ def prod( /, *, dims: _Dims | Default = _default, + dtype: _DType | None = None, keepdims: bool = False, axis: _AxisLike | None = None, ) -> NamedArray[Any, _DType]: @@ -199,6 +200,7 @@ def sum( /, *, dims: _Dims | Default = _default, + dtype: _DType | None = None, keepdims: bool = False, axis: _AxisLike | None = None, ) -> NamedArray[Any, _DType]: