mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
(cherry picked from commit 44ead02b0510e4db9a3371267864a901aa598b8d) Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
This commit is contained in:
parent
f996aadf47
commit
d3f93af701
@ -50,10 +50,7 @@ class Index:
|
|||||||
# index_field.setter
|
# index_field.setter
|
||||||
self._is_source_field = False
|
self._is_source_field = False
|
||||||
|
|
||||||
# The type:ignore is due to mypy not being smart enough
|
self.es_index_field = es_index_field
|
||||||
# to recognize the property.setter has a different type
|
|
||||||
# than the property.getter.
|
|
||||||
self.es_index_field = es_index_field # type: ignore
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def sort_field(self) -> str:
|
def sort_field(self) -> str:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user