diff --git a/pyproject.toml b/pyproject.toml index 9f55a52..16bdf9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "widget_state" -version = "0.0.4" +version = "0.0.5" authors = [ { name="Tamino Huxohl", email="thuxohl@mailbox.org" }, ] diff --git a/widget_state/state.py b/widget_state/state.py index 6a20746..16b61e1 100644 --- a/widget_state/state.py +++ b/widget_state/state.py @@ -129,7 +129,7 @@ def depends_on( self, states: Iterable[State], compute_value: Callable[[], Self], - kwargs: dict[State, dict[str, Any]], + kwargs: dict[State, dict[str, Any]] = {}, ) -> None: """ Declare that this state depends on other states.