Open nsheff opened 1 year ago
hmmm.. I don't remember what my intention was. But what you can do is:
cached_property
decorators to keep py3.7 support@property
in conjunction with @functools.lru_cache
to keep py3.7 supportSince memoization is a "nice to have" feature I'd likely go for option 2.
https://github.com/refgenie/refgenconf/blob/3f2ea03840b4e17b14dd57f0ae56109f40edf65f/refgenconf/recipe.py#L3
@stolarczyk Were you intending to make refgenconf depend on Python 3.8?
Or do you think of this as an optional thing that we should take out until 3.7 is deprecated?