-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add note on params that only work with background callbacks #3263
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
Conversation
dash/_callback.py
Outdated
@@ -118,12 +118,14 @@ def callback( | |||
the app layout. The second element is the value that the property | |||
should be set to while the callback is running, and the third element | |||
is the value the property should be set to when the callback completes. | |||
This parameter only applies to background callbacks (`background=True`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running is available for regular callbacks since 2.16
There is only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The prose looks good, but I'll defer to @T4rk1n on correctness.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃
@T4rk1n do you know if there are any other params that only apply to background callbacks.
This PR relates to this issue https://github.com/plotly/ddk-dash-docs/issues/3318
which is specifically related to the
cancel
param, but I think it's the same for the rest of these.Start with a description of this PR. Then edit the list below to the items that make sense for your PR scope, and check off the boxes as you go!
Contributor Checklist
optionals
CHANGELOG.md