c4d653ee7275f364b82d539bc58a9793248374eb,lib/streamlit/ScriptRunner.py,ScriptRunner,request_rerun,#ScriptRunner#,88
Before Change
LOGGER.debug("Spawning script thread...")
self._set_state(State.STARTING_THREAD)
script_thread = threading.Thread(
target=self._run,
name="Streamlit script runner thread")
script_thread.start()
else:
self._set_state(State.RERUN_REQUESTED)
self._state_change_requested = True
After Change
If the script is not already running, it will be started immediately.
Otherwise, a rerun will be requested.
if self.is_shutdown():
LOGGER.warning("Discarding RERUN event after shutdown")
return
self._event_queue.enqueue(ScriptEvent.RERUN, self._report)
def request_stop(self):
if self.is_shutdown():
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances
Project Name: streamlit/streamlit
Commit Name: c4d653ee7275f364b82d539bc58a9793248374eb
Time: 2019-06-05
Author: tconkling@gmail.com
File Name: lib/streamlit/ScriptRunner.py
Class Name: ScriptRunner
Method Name: request_rerun
Project Name: ilastik/ilastik
Commit Name: 3896e792d3383dbd0149811cde614cfeb0dcd7ab
Time: 2012-10-08
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/dataSelection/dataSelectionGui.py
Class Name: DataSelectionGui
Method Name: handleAddStackButtonClicked
Project Name: pantsbuild/pants
Commit Name: 10f0be3801d59174a5be13340daab2050c45b2c6
Time: 2017-01-06
Author: wisechengyi@gmail.com
File Name: src/python/pants/goal/run_tracker.py
Class Name: RunTracker
Method Name: store_stats
Project Name: wandb/client
Commit Name: e3eddd47c5efe5cb9257e2727d473a48f316d408
Time: 2020-08-24
Author: jeff@wandb.com
File Name: wandb/interface/interface.py
Class Name: MessageRouter
Method Name: __init__