#NEWLINE# def __init__( self , field , func = None , query = None , limit = None , offset = None , sort = None , format = None , main = None , ngroups = None , truncate = None , facet = None , cache_percent = None ) : #NEWLINE# #INDENT# self . _params = [ ] #NEWLINE# local_vars = locals ( ) #NEWLINE# for name in filter ( ( lambda x : ( ( x != 'self' ) and ( local_vars [ x ] is not None ) ) ) , query ) : #NEWLINE# #INDENT# self . _params . append ( ( ( 'group.' + name . replace ( '_' , '.' ) ) , str ( local_vars [ name ] ) ) )