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:
|
||||
this = self.__dict__.copy()
|
||||
if "_client" in this.keys():
|
||||
if "_client" in this:
|
||||
del this["_client"]
|
||||
return this
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user