mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Fixes for two type hinting issues
This commit is contained in:
parent
211cc2c83f
commit
c55516f376
@ -33,6 +33,7 @@ class ArithmeticObject(ABC):
|
|||||||
def value(self) -> str:
|
def value(self) -> str:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@property
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def dtype(self) -> "DTypeLike":
|
def dtype(self) -> "DTypeLike":
|
||||||
pass
|
pass
|
||||||
|
@ -345,5 +345,5 @@ def es_version(es_client: Elasticsearch) -> Tuple[int, int, int]:
|
|||||||
)
|
)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
eland_es_version = es_client._eland_es_version # type: ignore
|
eland_es_version = es_client._eland_es_version
|
||||||
return eland_es_version
|
return eland_es_version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user