Closed ghukill closed 5 years ago
StateIO
object to POST
handler (export is ajax, import os normal), for immediate viewing
a. create new field status
that will init as initializing
, move to running
, and finish with finished
StateIO
instance id to ct.task_params
, have export_state()
and import_state()
both recognize a passed StateIO
id and updateDone.
Otherwise, we are unable to init exports and imports, with names and identifiers that could populate a "running" table, until complete.
If we can pass a pre-existing
StateIO
instanace, that would override the creation of these instances as it currently stands inexport_state()
andimport_state()
, this would support init-ing theStateIO
instance before the task is complete.