def prepare_query_params(**kwargs):
return [<EOL>(sub_key, sub_value)<EOL>for key, value in kwargs.items()<EOL>for sub_key, sub_value in expand(value, key)<EOL>if sub_value is not None<EOL>]<EOL>
Prepares given parameters to be used in querystring.