fix linter errors

This commit is contained in:
Dinesh Yeduguru 2024-11-04 12:16:24 -08:00
parent 52344391b9
commit 8ff1b3af13
4 changed files with 9 additions and 11 deletions

View file

@ -16,8 +16,9 @@ from llama_stack.providers.utils.kvstore import KVStore
class DistributionRegistry(Protocol):
async def get(self, identifier: str) -> [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].