Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)
The `TaskDescription` class is a simple container for properties which
describe a :class:`Task`, i.e. a workload element.  `TaskDescription`s are
submitted to :class:`WorkloadManager` instances on `add_task`, and are
internally used to create :class:`Task` instances.

FIXME: description of supported properties goes here

src/t/r/troy-0.0.3/troy/workload/workload.py   troy(Download)
 
            if  isinstance (d, dict) :
                d = troy.TaskDescription (d)
 
            if  not isinstance (d, troy.TaskDescription) :

src/t/r/troy-0.0.3/troy/plugins/workload_parser/plugin_workload_parser_default.py   troy(Download)
                # make sure we use all current information
                ru.dict_stringexpand (task_descr, self.session.cfg)
                task_descriptions.append (troy.TaskDescription (task_descr))
 
        if relations :

src/t/r/troy-0.0.3/troy/plugins/planner_expand/plugin_planner_expand_cardinal.py   troy(Download)
                    new_task_dict['cardinality'] = 1 # avoid repeated expansion
                    new_task_dict['cardinal']    = c
                    task_descriptions.append (troy.TaskDescription (new_task_dict))
 
            else :

src/t/r/troy-0.0.3/bin/owms.py   troy(Download)
        for t in w.tasks:
 
            cu_description = troy.TaskDescription()
 
            if args.remote_working_directory:

src/t/r/troy-0.0.3/troy/application/skeleton_application.py   troy(Download)
 
                # convert to troy task description, and add to workload
                td = troy.TaskDescription ()
 
                td.tag               = skeleton_task.taskid

src/t/r/troy-0.0.3/tests/unittests/planner/test_expand_workload.py   troy(Download)
 
    for task_dict in wl_dict['tasks']:
        task_description = troy.TaskDescription(task_dict)
        wl.add_task(task_description)
 

src/t/r/troy-0.0.3/tests/unittests/pilot/test_inspection.py   troy(Download)
 
    for task_dict in workload_dict['tasks'] :
        task_description = troy.TaskDescription (task_dict)
        workload.add_task (task_description)
 

src/t/r/troy-0.0.3/tests/unittests/planner/test_derive_overlay.py   troy(Download)
 
    for task_dict in wl_dict['tasks']:
        task_description = troy.TaskDescription(task_dict)
        wl.add_task(task_description)
 

src/t/r/troy-0.0.3/tests/unittests/workload_manager/test_create_workload.py   troy(Download)
 
    for task_dict in wl_dict['tasks'] :
        task_description = troy.TaskDescription (task_dict)
        wl.add_task (task_description)