r.a.DeviceCriterion(Criterion) : class documentation

Part of reven.api View In Hierarchy

Criterion object to select devices.

Method __init__ build a criterion to filter devices. @param device_name: the device name to match. An empty string matches any name. @param subdevice_name: the sub device name to match. An empty string matches any name.
Method reven_criterion
Method __repr__ Undocumented

Inherited from Criterion:

Method reven_effect
def __init__(self, *args, device_name='', subdevice_name='', **kwargs):

build a criterion to filter devices.

Parametersdevice_namethe device name to match. An empty string matches any name.
subdevice_namethe sub device name to match. An empty string matches any name.
def reven_criterion(self):
ReturnsThe corresponding reven_api.filter_criterion_device
def __repr__(self):
Undocumented
API Documentation for reven, generated by pydoctor at 2016-05-25 16:38:00.