diff --git a/bioimageio_colab/hypha_data_store.py b/bioimageio_colab/hypha_data_store.py index 60add5b..d8c1ea8 100644 --- a/bioimageio_colab/hypha_data_store.py +++ b/bioimageio_colab/hypha_data_store.py @@ -21,7 +21,7 @@ async def setup(self, server, service_id="data-store", visibility="public"): "require_context": False }, "get": self.http_get, - }, overwrite=True) + }) def get_url(self, obj_id: str): assert self._svc, "Service not initialized, call `setup()`" diff --git a/bioimageio_colab/register_sam_service.py b/bioimageio_colab/register_sam_service.py index 6dc6f19..a48c950 100644 --- a/bioimageio_colab/register_sam_service.py +++ b/bioimageio_colab/register_sam_service.py @@ -223,8 +223,7 @@ async def register_service(args: dict) -> None: # remove the user id from the storage # returns True if the user was removed successfully "remove_user_id": remove_user_id, # TODO: add a timeout to remove a user after a certain time - }, - overwrite=True, + }, {"overwrite": True} ) sid = service_info["id"] assert sid == f"{args.workspace_name}/{args.client_id}:{args.service_id}"