From 68665a47d058fa97867ee1ce85fc96460228e2d3 Mon Sep 17 00:00:00 2001 From: Keisuke OGAKI Date: Fri, 10 Jan 2025 19:50:48 +0900 Subject: [PATCH] :bug: (not only_public) and only_significant --- gokart/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)