diff --git a/google/refine/facet.py b/google/refine/facet.py index ef10397..edba48f 100644 --- a/google/refine/facet.py +++ b/google/refine/facet.py @@ -110,16 +110,17 @@ class BlankFacet(BoolFacet): # Capitalize 'From' to get around python's reserved word. class NumericFacet(Facet): - def __init__(self, column, From=None, to=None, select_blank=True, select_error=True, select_non_numeric=True, select_numeric=True, **options): + def __init__(self, column, From=None, to=None, expression='value', select_blank=True, select_error=True, select_non_numeric=True, select_numeric=True, **options): super(NumericFacet, self).__init__( column, + From=From, + to=to, + expression=expression, type='range', select_blank=select_blank, select_error=select_error, select_non_numeric=select_non_numeric, select_numeric=select_numeric, - From=From, - to=to, **options)