File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -438,7 +438,6 @@ async def getsize(self, key: str) -> int:
438438 # Note to implementers: this default implementation is very inefficient since
439439 # it requires reading the entire object. Many systems will have ways to get the
440440 # size of an object without reading it.
441-
442441 value = await self .get (key , prototype = default_buffer_prototype ())
443442 if value is None :
444443 raise FileNotFoundError (key )
@@ -477,7 +476,6 @@ async def getsize_prefix(self, prefix: str) -> int:
477476 # on to getting sizes. Ideally we would overlap those two, which should
478477 # improve tail latency and might reduce memory pressure (since not all keys
479478 # would be in memory at once).
480-
481479 keys = [(x ,) async for x in self .list_prefix (prefix )]
482480 limit = config .get ("async.concurrency" )
483481 sizes = await concurrent_map (keys , self .getsize , limit = limit )
You can’t perform that action at this time.
0 commit comments