@property
    def model_spec(self):
        try:
            return cosmos[self.api_name].spec['models'][self.model_name]
        except __HOLE__:
            raise RuntimeError('Model does not exist: {}'.format(self.full_name))
dataset/ETHPy150Open cosmic-api/cosmic.py/cosmic/types.py/Model.model_spec