Skip to content

flex_rf.web.upload

Type: function Base(s): None

Upload simulation to server, but do not start running Simulation.

Once you’ve created a job object using Job, you can upload it to our servers with:

web.upload(simulation, task_name="task_name", verbose=verbose)

It will not run until you explicitly tell it to do so with start. Passing solver_version directly is deprecated. Set defaults via td.config.run instead. Non-None values passed here override the config for this call.

simulation [WorkflowType]
task_name [str | None] = None
folder_name [str] = 'default'
callback_url [str | None] = None
verbose [bool] = True
progress_callback [Callable[[float], None] | None] = None
simulation_type [str | None] = None
parent_tasks [list[str] | None] = None
source_required [bool] = True
solver_version [str | None] = None
reduce_simulation [Literal['auto', True, False]] = 'auto'
verbose_estimate_cost [bool | None] = None