Skip to content

Commit

Permalink
[fix] Prevent report_to="none" from being ignored (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen authored Jan 13, 2025
1 parent 8a792b1 commit 301603b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/setfit/training_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ def __post_init__(self) -> None:

if self.report_to in (None, "all", ["all"]):
self.report_to = get_available_reporting_integrations()
elif self.report_to in ("none", ["none"]):
self.report_to = []
elif not isinstance(self.report_to, list):
self.report_to = [self.report_to]

Expand Down

0 comments on commit 301603b

Please sign in to comment.