

def __init__(self, meta, name, data, bases):
    super(ModelResourceOptions, self).__init__(meta, name, data, bases)
    self.model = meta.get('model')
    if ((self.model is None) and (not self.abstract)):
        raise ImproperlyConfigured('Model resources must be bound to a model.')

dataset/ETHPy150Open armet/python-armet/armet/resources/model/options.py ModelResourceOptions.__init__/original