def put_model(self, definition, permissions, model_id=None):
        if model_id is None:
            model_id = self._generate_id(key_exist=self._model_exists)

        self._db['models'][model_id] = {
            'definition': deepcopy(definition),
            'permissions': permissions
        }
        if model_id >= self._db['records']:
            self._db['records'][model_id] = {}
        return model_id
dataset/ETHPy150Open spiral-project/daybed/daybed/backends/memory/__init__.py/MemoryBackend.put_model/operator `not in` -> `>=`