def save_status_to_session(strategy, pipeline_index, *args, **kwargs):
 strategy.session_set('partial_pipeline', strategy.partial_to_session((pipeline_index + 1), *args, **kwargs))

def save_status_to_session ( strategy , pipeline_index , * args , ** kwargs ) : strategy . session_set ( 'partial_pipeline' , strategy . partial_to_session ( ( pipeline_index + 1 ) , * args , ** kwargs ) )
saves current social-auth status to session .