to_dict

method of dascore.workflow.task.FunctionTask source

to_dict(
    self ,
)-> ‘dict[str, Any]’

Return a document which describes this task.

The document names the class by its registered tag, never by an import path; code_path is written only so a human, or an error message, can find the class the tag stands for.