Skip to content
Snippets Groups Projects

AccumulatorCache: support instance methods

Merged Frank Winklmeier requested to merge fwinkl/athena:fwinkl_20230501T180345 into 23.0
2 files
+ 14
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -111,6 +111,10 @@ class AccumulatorDecorator:
return hash(x)
return None
def __get__(self, obj, objtype):
"""Support instance methods."""
return functools.partial(self.__call__, obj)
def __call__(self , *args , **kwargs):
cacheHit = None
try:
Loading