def __init__(self, meta, name, data, bases):
        # Initalize base resource options.
        super(ModelResourceOptions, self).__init__(meta, name, data, bases)

        #! Reference to the declarative model defined by
        #! the Object Relational Mapper (ORM).
        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