def make_params(**kwargs):
 return {k: v for (k, v) in kwargs.items() if (v is not None)}

def make_params ( ** kwargs ) : return { k : v for ( k , v ) in kwargs . items ( ) if ( v is not None ) }
helper to create a params dict .