diff --git a/src/ductile/internal/view.py b/src/ductile/internal/view.py index a588d72..47fe9ca 100644 --- a/src/ductile/internal/view.py +++ b/src/ductile/internal/view.py @@ -17,8 +17,8 @@ def __init__( self, *, timeout: float | None = 180, - on_error: "ViewErrorHandler" | None = None, - on_timeout: "ViewTimeoutHandler" | None = None, + on_error: "ViewErrorHandler | None" = None, + on_timeout: "ViewTimeoutHandler | None" = None, ) -> None: super().__init__(timeout=timeout) self.__on_error = on_error