def __init__(self, revision, schedule, service_def, children=None):
        assert children is None or type(children) is list, str(type(children)) % 'Invalid QueryCriteria type: %s'
        for child in children or []:
            assert type(child) is ConnectionInfo, 'Invalid QueryCriteria child: %s' % str(type(child))
        Criteria.__init__(self, revision, schedule, service_def)
        self.children = children or []
dataset/ETHPy150Open NORDUnet/opennsa/opennsa/nsa.py/QueryCriteria.__init__/swapped operands of `%`