Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a Widget.batch async context manager #4183

Merged
merged 5 commits into from
Feb 19, 2024

Conversation

rodrigogiraoserrao
Copy link
Contributor

@rodrigogiraoserrao rodrigogiraoserrao commented Feb 19, 2024

The Widget.batch context manager locks the widget and batches app updates too.
This fixes #4133.

This PR depends on #4139 and shouldn't be merged while #4139 doesn't get the OK to be merged.

@rodrigogiraoserrao rodrigogiraoserrao marked this pull request as ready for review February 19, 2024 14:59
src/textual/widget.py Outdated Show resolved Hide resolved
@rodrigogiraoserrao rodrigogiraoserrao merged commit 9561d47 into main Feb 19, 2024
20 checks passed
@rodrigogiraoserrao rodrigogiraoserrao deleted the batch-async-context-manager branch February 19, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add remove attribute to mount and mount_all
2 participants