save

method of dascore.workflow.task.FunctionTask source

save(
    self ,
    path: str | pathlib._local.Path[str, Path] ,
)-> ‘Path’

Write this task to a file, and return where it was written.

The suffix picks the format; see write_workflow.