-
Notifications
You must be signed in to change notification settings - Fork 136
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
feat: reactive_task decorator (re)runs a task when a dependency changes #473
Draft
maartenbreddels
wants to merge
1
commit into
master
Choose a base branch
from
01-19-feat_reactive_task_decorator_re_runs_a_task_when_a_dependency_changes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
feat: reactive_task decorator (re)runs a task when a dependency changes #473
maartenbreddels
wants to merge
1
commit into
master
from
01-19-feat_reactive_task_decorator_re_runs_a_task_when_a_dependency_changes
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @maartenbreddels and the rest of your teammates on Graphite |
This was referenced Jan 19, 2024
maartenbreddels
force-pushed
the
01-12-feat_task_and_use_task_for_better_asyncio_task_a_thread_execution
branch
from
January 19, 2024 19:42
7288e79
to
86758cc
Compare
maartenbreddels
force-pushed
the
01-19-feat_reactive_task_decorator_re_runs_a_task_when_a_dependency_changes
branch
from
January 19, 2024 19:42
1cfa556
to
f0c7455
Compare
iisakkirotko
force-pushed
the
01-12-feat_task_and_use_task_for_better_asyncio_task_a_thread_execution
branch
from
February 5, 2024 13:36
86758cc
to
06c4657
Compare
This was referenced Feb 5, 2024
iisakkirotko
force-pushed
the
01-12-feat_task_and_use_task_for_better_asyncio_task_a_thread_execution
branch
3 times, most recently
from
February 8, 2024 16:14
899a669
to
850c94b
Compare
maartenbreddels
force-pushed
the
01-12-feat_task_and_use_task_for_better_asyncio_task_a_thread_execution
branch
7 times, most recently
from
February 14, 2024 16:50
1f4fc86
to
d39063b
Compare
maartenbreddels
force-pushed
the
01-19-feat_reactive_task_decorator_re_runs_a_task_when_a_dependency_changes
branch
from
February 14, 2024 16:50
f0c7455
to
f0b4019
Compare
maartenbreddels
force-pushed
the
01-12-feat_task_and_use_task_for_better_asyncio_task_a_thread_execution
branch
8 times, most recently
from
February 16, 2024 13:34
f981cfd
to
a9f836f
Compare
Dependencies are other reactive variables. Examples: ``` import asyncio import time import solara from solara.lab import reactive_task x = solara.reactive(2) @reactive_task async def x_square(): await asyncio.sleep(2) a = b return x.value**2 @solara.component def Page(): solara.SliderInt("x", value=x, min=0, max=10) if x_square.value.state == solara.ResultState.FINISHED: solara.Text(repr(x_square.value.value)) solara.ProgressLinear(x_square.value.state == solara.ResultState.RUNNING) ```
maartenbreddels
force-pushed
the
01-19-feat_reactive_task_decorator_re_runs_a_task_when_a_dependency_changes
branch
from
March 10, 2024 21:23
f0b4019
to
3760636
Compare
maartenbreddels
changed the base branch from
01-12-feat_task_and_use_task_for_better_asyncio_task_a_thread_execution
to
master
March 10, 2024 21:23
iisakkirotko
force-pushed
the
master
branch
2 times, most recently
from
April 5, 2024 14:59
c2951b9
to
8816e36
Compare
maartenbreddels
force-pushed
the
master
branch
2 times, most recently
from
April 8, 2024 14:47
240a079
to
b098da1
Compare
maartenbreddels
force-pushed
the
master
branch
2 times, most recently
from
July 11, 2024 15:41
86646f5
to
df2fd66
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dependencies are other reactive variables.
Examples: