Open shaypal5 opened 4 months ago
I notice this caches "None" when the function raises an Exception. Eg:
@cachier.cachier(backend='memory',allow_none=True) def tmp_test(a): raise Exception() tmp_test(123) # Raises Exception tmp_test(123) # Returns None
Is this WAI?
Originally posted by @tashmore in https://github.com/python-cachier/cachier/issues/121#issuecomment-2098803095
is it only for backend='memory' or all backends?
backend='memory'
I notice this caches "None" when the function raises an Exception. Eg:
Is this WAI?
Originally posted by @tashmore in https://github.com/python-cachier/cachier/issues/121#issuecomment-2098803095