Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
The `Task` class represents a element of work to be performed on behalf of
an application, and is part of a workload managed by Troy.

Task instances are created and owned by the :class:`Workload` class they are
part of -- only that class should change its composition and state.  Tasks
are created according to a :class:`TaskDescription`, i.e. a set of key-value
pairs describing the represented workload element.

As tasks are components of a :class:`Workload`, they are subject to the
transformations the workload undergoes (see :class:`Workload` documentation(more...)

src/t/r/troy-0.0.3/troy/workload/workload.py   troy(Download)
            # FIXME: add sanity checks for task syntax / semantics
            task = troy.Task (self.session, descr=d, _workload=self)
            self.timed_component (task, 'troy.Task', task.id)