add query knowledge object in shell

This commit is contained in:
tsukasa
2023-09-29 14:27:23 +08:00
parent b6a06c4150
commit bc2488f781
3 changed files with 23 additions and 7 deletions
+1
View File
@@ -15,6 +15,7 @@ class ObjectStore:
self.blob = FileBlobStorage(blob_dir)
def put_object(self, object_id: ObjectID, contents: bytes):
logging.info(f"will put object: {object_id}")
self.blob.put(object_id, contents)
def get_object(self, object_id: ObjectID) -> bytes: