File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,16 +141,16 @@ def __init__(
141141 # TUI hooks (overridden by the UI)
142142 self .on_delta : Callable [[str ], None ] | None = None
143143 self .log_fn : Callable [[str ], None ] | None = None
144- self .notify_fn : Callable [[str ], None ] | None = None
144+ self .notify_fn : Callable [[str , Any ], None ] | None = None
145145 self .confirm_fn : Callable [[str ], bool ] | None = None
146146 self .ask_fn : Callable [[list [dict ]], str ] | None = None
147147
148148 # ------------------------------------------------------------------
149149 # notifications
150150 # ------------------------------------------------------------------
151- def notify (self , kind : str ) -> None :
151+ def notify (self , kind : str , data : Any = None ) -> None :
152152 if self .notify_fn :
153- self .notify_fn (kind )
153+ self .notify_fn (kind , data )
154154
155155 def log (self , msg : str ) -> None :
156156 if self .log_fn :
You can’t perform that action at this time.
0 commit comments