diff --git a/gokart/task.py b/gokart/task.py index c462d1f4..b31c38b7 100644 --- a/gokart/task.py +++ b/gokart/task.py @@ -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)