diff options
author | 2022-12-04 09:31:50 +0800 | |
---|---|---|
committer | 2022-12-04 09:31:50 +0800 | |
commit | af3f7a7460a7faf69fc2fd247c956d52c8e94e4e (patch) | |
tree | f9cf349f0e22a021e7224e149faf587c2230d3cd | |
parent | Fix as_dict type hint (diff) |
Add comment for preload_dict intentions
-rw-r--r-- | snekbox/memfs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/snekbox/memfs.py b/snekbox/memfs.py index 7937a14..d02c029 100644 --- a/snekbox/memfs.py +++ b/snekbox/memfs.py @@ -147,5 +147,6 @@ class MemFS: res = sorted(self.files(limit, pattern), key=lambda f: f.path) if preload_dict: for file in res: + # Loads the cached property as attribute _ = file.as_dict return res |