

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(permissions),
        'permissions': permissions,
    }
    if (model_id not in self._db['records']):
        self._db['records'][model_id] = {
            
        }
    return model_id

dataset/ETHPy150Open spiral-project/daybed/daybed/backends/memory/__init__.py MemoryBackend.put_model/VarMisuse@57/78 `definition`->`permissions`