

def setUp(self):
    self.schema = schemas.GroupField.definition()
    self.definition = {
        'type': 'group',
        'fields': [{
            'type': 'int',
            'name': 'a',
            'hint': 'An integer',
            'label': '',
            'required': True,
        }],
    }
    modeldefinition = {
        'fields': [{
            'type': 'string',
            'name': 'b',
        }, self.definition],
    }
    from daybed.schemas.validators import RecordSchema
    self.validator = RecordSchema(self)

dataset/ETHPy150Open spiral-project/daybed/daybed/tests/test_schemas_base.py GroupFieldTests.setUp/VarMisuse@113/154 `modeldefinition`->`self`