MCPcopy Create free account
hub / github.com/WebODM/WebODM / progress_callback

Function progress_callback

app/plugins/worker.py:30–31  ·  view source on GitHub ↗
(status, perc)

Source from the content-addressed store, hash-verified

28
29 if kwargs.get("with_progress"):
30 def progress_callback(status, perc):
31 self.update_state(state="PROGRESS", meta={"status": status, "progress": perc})
32 kwargs['progress_callback'] = progress_callback
33 del kwargs['with_progress']
34

Callers 1

pFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected