(cls, format)
| 1009 | |
| 1010 | @classmethod |
| 1011 | def format_needs_cache(cls, format): |
| 1012 | format_keys = {f[1] for f in Formatter().parse(format)} |
| 1013 | return any(key in cls.KEYS_REQUIRING_CACHE for key in format_keys) |
| 1014 | |
| 1015 | def __init__(self, archive, format): |
| 1016 | from xxhash import xxh64 |