A Routed is a specification describing another specification that has been wrapped in a to. As such, it is an incomplete implementation of ISpecification.

Method __init__ Derive a Routed version of specification.
Method isOrExtends Is this Routed substitutable for the given specification?
Method providedBy Is this Routed provided by a particular value?
Method __eq__ Routed(X) compares equal to Routed(X).
Method __ne__ Routed(X) compares unequal to Routed(Y).
def __init__(self, specification=None):

Derive a Routed version of specification.

Parametersspecificationthe specification that will be provided by the what attribute of providers of this specification. (type: ISpecification)
def isOrExtends(self, other):

Is this Routed substitutable for the given specification?

ParametersotherAnother Routed or specification. (type: ISpecification)
ReturnsTrue if so, False if not.
def providedBy(self, instance):

Is this Routed provided by a particular value?

Parametersinstancean object which may or may not provide this specification. (type: object)
ReturnsTrue if so, False if not. (type: bool)
def __eq__(self, other):

Routed(X) compares equal to Routed(X).

def __ne__(self, other):

Routed(X) compares unequal to Routed(Y).

API Documentation for tubes, generated by pydoctor at 2016-01-18 07:46:47.