From 89342d352c47a7a27f9bdbbd53610b513a71c9e3 Mon Sep 17 00:00:00 2001 From: Dinesh Yeduguru Date: Wed, 13 Nov 2024 21:09:18 -0800 Subject: [PATCH] remove comment --- llama_stack/distribution/store/registry.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/llama_stack/distribution/store/registry.py b/llama_stack/distribution/store/registry.py index d8a1a04e3..b876ee756 100644 --- a/llama_stack/distribution/store/registry.py +++ b/llama_stack/distribution/store/registry.py @@ -34,10 +34,6 @@ class DistributionRegistry(Protocol): self, obj: RoutableObjectWithProvider ) -> RoutableObjectWithProvider: ... - # The current data structure allows multiple objects with the same identifier but different providers. - # This is not ideal - we should have a single object that can be served by multiple providers, - # suggesting a data structure like (obj: Obj, providers: List[str]) rather than List[RoutableObjectWithProvider]. - # The current approach could lead to inconsistencies if the same logical object has different data across providers. async def register(self, obj: RoutableObjectWithProvider) -> bool: ... async def delete(self, type: str, identifier: str) -> None: ...