From c55516f3762549484cefcb73d7a7fe8171000fa3 Mon Sep 17 00:00:00 2001 From: David Kyle Date: Wed, 4 Jan 2023 15:53:09 +0000 Subject: [PATCH] Fixes for two type hinting issues --- eland/arithmetics.py | 1 + eland/common.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/eland/arithmetics.py b/eland/arithmetics.py index 5fe0d7d..498cedd 100644 --- a/eland/arithmetics.py +++ b/eland/arithmetics.py @@ -33,6 +33,7 @@ class ArithmeticObject(ABC): def value(self) -> str: pass + @property @abstractmethod def dtype(self) -> "DTypeLike": pass diff --git a/eland/common.py b/eland/common.py index 125b79d..71c0db5 100644 --- a/eland/common.py +++ b/eland/common.py @@ -345,5 +345,5 @@ def es_version(es_client: Elasticsearch) -> Tuple[int, int, int]: ) else: - eland_es_version = es_client._eland_es_version # type: ignore + eland_es_version = es_client._eland_es_version return eland_es_version