From 98dcd3dc7eabd6e0b5d03f53ba03b0a4bcdcba03 Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Fri, 31 Jan 2025 19:30:14 -0800 Subject: [PATCH] apparently this discovered some bugs --- tests/integration/test_background_task.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/test_background_task.py b/tests/integration/test_background_task.py index f312f8122..976cb6700 100644 --- a/tests/integration/test_background_task.py +++ b/tests/integration/test_background_task.py @@ -22,6 +22,10 @@ def BackgroundTask(): _task_id: int = 0 iterations: int = 10 + @rx.event + def set_iterations(self, value: str): + self.iterations = int(value) + @rx.event(background=True) async def handle_event(self): async with self: