Skip to content

Commit

Permalink
🐛 (not only_public) and only_significant
Browse files Browse the repository at this point in the history
  • Loading branch information
Hi-king committed Jan 10, 2025
1 parent 278aaab commit 68665a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gokart/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def make_unique_id(self) -> str:
return unique_id

def to_str_params(self, only_significant=False, only_public=False) -> dict[str, str]:
_called_with_default_args: bool = only_public and (not only_significant)
_called_with_default_args: bool = (not only_public) and only_significant
if not _called_with_default_args:
return super().to_str_params(only_significant, only_public)

Expand Down

0 comments on commit 68665a4

Please sign in to comment.