mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Fix lint (#798)
This commit is contained in:
parent
cb7c4fb122
commit
44ead02b05
@ -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