Skip to content

Add base class for caches in _cache.py #82

@petebachant

Description

@petebachant

There's a lot of similarity between the various cache classes. Is there any reason not to create a base class and derive the various cache classes from it? Some methods that appear to be copy/paste include:

  • archive
  • key
  • lookup
  • __get_cache
  • __get_mask
  • __get__
  • __reduce__

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions