code: def from_node(cls, task):
          
          new = super().from_node(task)
  
          new.update(
              executable=task.executable,
              #executable_version:
              #task_events=
              pseudos=[p.as_dict() for p in task.input.pseudos],
              #input=task.input
          )
  
          new.register_gridfs_files(
              run_abi=(task.input_file.path, "t"),
              run_abo=(task.output_file.path, "t"),
          )
  
          return new
docs: Initialize an instance from an :class:`AbinitTask` instance.