mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
comment
This commit is contained in:
parent
63f45c1e27
commit
ef64863616
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ class DiskRegistry(Registry):
|
|||
|
||||
return [DESERIALIZER.parse(obj_str) for obj_str in objects_data]
|
||||
|
||||
# TODO: make it thread safe using CAS
|
||||
async def register(self, obj: RoutableObjectWithProvider) -> None:
|
||||
# Get existing objects for this identifier
|
||||
existing_objects = await self.get(obj.identifier)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue