From 4200a98f65a94751ab741c9032097f740a76a834 Mon Sep 17 00:00:00 2001 From: scotscotmcc <83373712+scotscotmcc@users.noreply.github.com> Date: Thu, 24 Apr 2025 14:31:39 -0500 Subject: [PATCH] Update reactive.py docstrings Add recompose to docstring for `class reactive(...)`. The text is just copied from the parent-class `Reactive`. --- src/textual/reactive.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/textual/reactive.py b/src/textual/reactive.py index 9b1e75d41f..4955b226a7 100644 --- a/src/textual/reactive.py +++ b/src/textual/reactive.py @@ -405,6 +405,7 @@ class reactive(Reactive[ReactiveType]): repaint: Perform a repaint on change. init: Call watchers on initialize (post mount). always_update: Call watchers even when the new value equals the old value. + recompose: Compose the widget again when the attribute changes. bindings: Refresh bindings when the reactive changes. """