Fix dask.py lint error (#8216)
This commit is contained in:
parent
56395d120b
commit
b78bc734d9
@ -1684,7 +1684,7 @@ class DaskScikitLearnBase(XGBModel):
|
|||||||
|
|
||||||
def __getstate__(self) -> Dict:
|
def __getstate__(self) -> Dict:
|
||||||
this = self.__dict__.copy()
|
this = self.__dict__.copy()
|
||||||
if "_client" in this.keys():
|
if "_client" in this:
|
||||||
del this["_client"]
|
del this["_client"]
|
||||||
return this
|
return this
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user