Skip to content

Commit f310260

Browse files
committed
Return bytes from GetResult
1 parent eb76698 commit f310260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_store/test_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async def get(self, store: ObjectStore, key: str) -> Buffer:
2929
# TODO: There must be a better way to get the path to the store
3030
store_path = re.search(PATTERN, str(store)).group(1)
3131
new_local_store = obstore.store.LocalStore(prefix=store_path)
32-
return self.buffer_cls.from_bytes(obstore.get(new_local_store, key))
32+
return self.buffer_cls.from_bytes(obstore.get(new_local_store, key).bytes())
3333

3434
async def set(self, store: ObjectStore, key: str, value: Buffer) -> None:
3535
# TODO: There must be a better way to get the path to the store

0 commit comments

Comments
 (0)