From 7b0314d8aea4335fcbcdd346de3580b5807d7079 Mon Sep 17 00:00:00 2001 From: teranao-ai Date: Sun, 29 May 2022 20:29:45 +0900 Subject: [PATCH] Update task.py Fix typo in arguments of Task.get_param_names --- luigi/task.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luigi/task.py b/luigi/task.py index b24cac16e5..57346ce84c 100644 --- a/luigi/task.py +++ b/luigi/task.py @@ -373,8 +373,8 @@ def batch_param_names(cls): return [name for name, p in cls.get_params() if p._is_batchable()] @classmethod - def get_param_names(cls, include_significant=False): - return [name for name, p in cls.get_params() if include_significant or p.significant] + def get_param_names(cls, include_insignificant=False): + return [name for name, p in cls.get_params() if include_insignificant or p.significant] @classmethod def get_param_values(cls, params, args, kwargs):