def clean_partial_pipeline(request):
 name = setting('SOCIAL_AUTH_PARTIAL_PIPELINE_KEY', 'partial_pipeline')
 if (name in request.session):
  request.session.pop(name, None)

def clean_partial_pipeline ( request ) : name = setting ( 'SOCIAL_AUTH_PARTIAL_PIPELINE_KEY' , 'partial_pipeline' ) if ( name in request . session ) : request . session . pop ( name , None )
cleans any data for partial pipeline .