From b38c99ba47d858792d1666020acb3abcbed77275 Mon Sep 17 00:00:00 2001 From: Joshua Benning Date: Thu, 24 Sep 2026 11:40:29 +0200 Subject: [PATCH] server/provider.py: Add no-op commit Previously as `commit()` was not implemented the `DictDescriptorStore` raised errors and HTTP 500 caused by that. This change converts it to a silent no-op, as done in other non-persistent Store types. --- server/app/model/provider.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/app/model/provider.py b/server/app/model/provider.py index f1776dc07..eaf0ebf85 100644 --- a/server/app/model/provider.py +++ b/server/app/model/provider.py @@ -33,6 +33,9 @@ def __init__(self, descriptors: Iterable[_DESCRIPTOR_TYPE] = ()) -> None: for x in descriptors: self.add(x) + def commit(self, x: _DESCRIPTOR_TYPE) -> None: + pass + def get_item(self, identifier: model.Identifier) -> _DESCRIPTOR_TYPE: return self._backend[identifier]