Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
The `Relation` class represents a logical, temporal or spacial dependency
between two :class:`Task`s, and is part of a workload managed by Troy.

Relation instances are created and owned by the :class:`Workload` class they
are part of -- only that class should change its composition and state.
Relations are created according to a :class:`RelationDescription`, i.e.
a set of key-value pairs describing the represented task dependency.

src/t/r/troy-0.0.3/troy/workload/workload.py   troy(Download)
                raise ValueError ("relation tail '%s' no known" % d.tail)
 
            r = troy.Relation (d)
 
            self.relations.append (r)