Skip to content

Commit

Permalink
Fix mypy issue with wandb.finish() (#3283)
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 authored Sep 9, 2024
1 parent 680ac7f commit e194891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ignite/handlers/wandb_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def __getattr__(self, attr: Any) -> Any:
return getattr(self._wandb, attr)

def close(self) -> None:
self._wandb.finish() # type: ignore[attr-defined]
self._wandb.finish()

def _create_output_handler(self, *args: Any, **kwargs: Any) -> "OutputHandler":
return OutputHandler(*args, **kwargs)
Expand Down

0 comments on commit e194891

Please sign in to comment.