projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8090c84
)
21639: Add type hint to cachelist
author
Peter Amstutz <peter.amstutz@curii.com>
Thu, 4 Apr 2024 15:57:54 +0000
(11:57 -0400)
committer
Peter Amstutz <peter.amstutz@curii.com>
Thu, 4 Apr 2024 15:57:54 +0000
(11:57 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
sdk/python/arvados/diskcache.py
patch
|
blob
|
history
diff --git
a/sdk/python/arvados/diskcache.py
b/sdk/python/arvados/diskcache.py
index a0b3bbb7c952344f8db1af3d4f42f13b6c28015c..528a7d28b58146af1a33eac0ada4b746a9eaa12d 100644
(file)
--- a/
sdk/python/arvados/diskcache.py
+++ b/
sdk/python/arvados/diskcache.py
@@
-244,7
+244,7
@@
class DiskCacheSlot(object):
# Map in all the files we found, up to maxslots, if we exceed
# maxslots, start throwing things out.
- cachelist = collections.OrderedDict()
+ cachelist
: collections.OrderedDict
= collections.OrderedDict()
for b in blocks:
got = DiskCacheSlot.get_from_disk(b[0], cachedir)
if got is None: