Ejemplo n.º 1
0
 def update_row(cls, current, past, *args, **kwargs):
     return update_ratio(
         past.get(FeatureUniquePathTotal.feature_name_from_class()),
         past.get(FeatureRequestTotal.feature_name_from_class()),
         current[FeatureUniquePathTotal.feature_name_from_class()],
         current[FeatureRequestTotal.feature_name_from_class()]
     )
 def update_row(cls, current, past, *args, **kwargs):
     return update_ratio(
         past.get(FeatureCssTotal.feature_name_from_class()),
         past.get(FeatureHtmlTotal.feature_name_from_class()),
         current[FeatureCssTotal.feature_name_from_class()],
         current[FeatureHtmlTotal.feature_name_from_class()])