From baa70ff93807ee997cbea5fc1878492ec763cc28 Mon Sep 17 00:00:00 2001 From: A_D Date: Wed, 11 Aug 2021 01:10:14 +0200 Subject: [PATCH] Added defaults to SingleKill --- killswitch.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/killswitch.py b/killswitch.py index 499b71e2..f4a5f292 100644 --- a/killswitch.py +++ b/killswitch.py @@ -28,9 +28,9 @@ class SingleKill(NamedTuple): match: str reason: str - redact_fields: Optional[List[str]] - delete_fields: Optional[List[str]] - set_fields: Optional[Dict[str, Any]] + redact_fields: Optional[List[str]] = None + delete_fields: Optional[List[str]] = None + set_fields: Optional[Dict[str, Any]] = None @property def has_rules(self) -> bool: