exopy.tasks.utils.saving module

Handler for the commands used to save tasks.


Save a task in memory or in an .ini file.

  • task (BaseTask) – Task to save.

  • mode ({'config', 'template'}) – Should the task be returned as a dict (ConfigObj) or saved as a, template.

  • widget (optional) – Optional widget to use as a parent for the dialog when savind as template.

  • Returns

  • -------

  • config (dict or None) – A dict is returned if the mode is ‘config’.