We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a26c89 commit 0b1a9cdCopy full SHA for 0b1a9cd
python/runtime.py
@@ -206,13 +206,13 @@ def send_status(cmd, g):
206
started = self.runtime.started
207
# NOTE: running indicates network is actively running, data being processed
208
# for this example, we consider ourselves running as long as we have been started
209
- running = started
210
- payload = {
211
- graph: g,
212
- started: started,
213
- running: running,
+ running = self.runtime.started
+ response = {
+ 'graph': g,
+ 'started': started,
+ 'running': running,
214
}
215
- self.send('network', cmd, payload)
+ self.send('network', cmd, response)
216
217
graph = payload.get('graph', None)
218
if command == 'getstatus':
0 commit comments