From 91317d4ecd5c3cd14b47759387c78d59d84260de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20BRIOL?= Date: Wed, 25 Oct 2023 21:23:37 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Fix=20linter=20warning.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zcollection/dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zcollection/dataset.py b/zcollection/dataset.py index bca0662..926afbe 100644 --- a/zcollection/dataset.py +++ b/zcollection/dataset.py @@ -884,7 +884,7 @@ class Expression: def __init__(self, expression: str) -> None: self.code = compile(ast.parse(expression, mode='eval'), ' ', 'eval') - def __call__(self, zds: Dataset) -> NDArray: + def __call__(self, zds: Dataset) -> dask.array.core.Array: try: __locals: dict[str, Any] = { name: zds.variables[name].data