aboutsummaryrefslogtreecommitdiff
path: root/jb/flow/maintenance.py
diff options
context:
space:
mode:
Diffstat (limited to 'jb/flow/maintenance.py')
-rw-r--r--jb/flow/maintenance.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/jb/flow/maintenance.py b/jb/flow/maintenance.py
index f8ca971..4a2fe81 100644
--- a/jb/flow/maintenance.py
+++ b/jb/flow/maintenance.py
@@ -1,5 +1,3 @@
-from typing import Optional
-
from jb.decorators import HM
from jb.flow.monitoring import emit_hit_event
from jb.managers.amt import AMTManager
@@ -10,7 +8,7 @@ def check_hit_status(
amtm: AMTManager,
amt_hit_id: str,
amt_hit_type_id: str,
- reason: Optional[str] = None,
+ reason: str | None = None,
) -> HitStatus:
"""
(this used to be called "process_hit")