The code difference between Example 1 and 2 is minimal but the impact on the graph's data is immense. Example 2 will go through all previous runs/invocations and will execute them again but on the latest version of the graph.
What
We are renaming rerun to replay_invocation in the SDK and in the server to remove any possible confusion.
Testing
The test_graph_update.py tests replay.
Contribution Checklist
[x] If the python-sdk was changed, please run make fmt in python-sdk/.
[x] If the server was changed, please run make fmt in server/.
Context
The current term
rerun
is confusing especially when compared with therun
method.Example 1:
Example 2:
The code difference between Example 1 and 2 is minimal but the impact on the graph's data is immense. Example 2 will go through all previous
runs
/invocations
and will execute them again but on the latest version of the graph.What
We are renaming
rerun
toreplay_invocation
in the SDK and in the server to remove any possible confusion.Testing
The test_graph_update.py tests replay.
Contribution Checklist
make fmt
inpython-sdk/
.make fmt
inserver/
.