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

Support for "running" callback argument. #510

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

olegrimko-etg
Copy link

Hi!

Recently I've had a case with disabling controls while callback is running and native Dash solution using running= would be very handy. But it is not supported in Django wrapper in latest version.

This patch is just quick partial implementation of one internal field support, which are supported in referenced Dash version, but ignored in this lib.

May be someone is already working in it? Otherwise I could prepare normal upgrade PR at least for callback kwargs

long = _kwargs.get("long")
manager = _kwargs.get("manager")
running = _kwargs.get("running")
on_error = _kwargs.get("on_error") 

It looks like some internal methods were copied from Dash. Possibly it just need upgrade, but I didn't tested it all yet, only running option.

@olegrimko-etg olegrimko-etg marked this pull request as draft December 16, 2024 16:03
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.

1 participant