Skip to content

Commit

Permalink
Fix dask.py lint error (#8216)
Browse files Browse the repository at this point in the history
  • Loading branch information
rongou committed Sep 2, 2022
1 parent 56395d1 commit b78bc73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/xgboost/dask.py
Expand Up @@ -1684,7 +1684,7 @@ async def _() -> Awaitable[Any]:

def __getstate__(self) -> Dict:
this = self.__dict__.copy()
if "_client" in this.keys():
if "_client" in this:
del this["_client"]
return this

Expand Down

0 comments on commit b78bc73

Please sign in to comment.