예제 #1
0
 def get_cached_tree_benefits(self, filter, fn):
     return get_cached_benefits('Plot', filter, fn)
예제 #2
0
def _benefits_for_class(cls, filter):
    benefits_fn = cls.benefits.benefits_for_filter
    compute_benefits = lambda: benefits_fn(filter.instance, filter)

    return get_cached_benefits(cls.__name__, filter, compute_benefits)
예제 #3
0
def _benefits_for_class(cls, filter):
    benefits_fn = cls.benefits.benefits_for_filter
    compute_benefits = lambda: benefits_fn(filter.instance, filter)

    return get_cached_benefits(cls.__name__, filter, compute_benefits)
예제 #4
0
 def get_cached_tree_benefits(self, filter, fn):
     return get_cached_benefits('Plot', filter, fn)