We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf1d975 commit cd8c695Copy full SHA for cd8c695
src/textual/app.py
@@ -2099,7 +2099,7 @@ async def run_app(app: App[ReturnType]) -> None:
2099
2100
# Launch the app in the "background"
2101
2102
- app_task = create_task(run_app(app), name=f"run_test {app}")
+ self._task = app_task = create_task(run_app(app), name=f"run_test {app}")
2103
2104
# Wait until the app has performed all startup routines.
2105
await app_ready_event.wait()
tests/test_reactive.py
@@ -545,7 +545,7 @@ def on_mount(self):
545
def update(self):
546
self.holder.attr = "hello world"
547
548
- async def callback(self):
+ def callback(self):
549
nonlocal from_app
550
from_app = True
551
0 commit comments