aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/infini/handler.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/infini/handler.py b/src/infini/handler.py
index fb6d50e5..30eac0ab 100644
--- a/src/infini/handler.py
+++ b/src/infini/handler.py
@@ -13,7 +13,9 @@ class Result(metaclass=ABCMeta):
status: bool
exception: HydroError | None = None
- def __init__(self, event: str, status: bool, exception: HydroError | None) -> None:
+ def __init__(
+ self, event: str, status: bool, exception: HydroError | None = None
+ ) -> None:
self.event = event
self.status = status
self.exception = exception