def config_settings_loader(request=None):
 conf = SPConfig()
 conf.load(copy.deepcopy(settings.SAML_CONFIG))
 return conf

def config_settings_loader ( request = None ) : conf = SPConfig ( ) conf . load ( copy . deepcopy ( settings . SAML_CONFIG ) ) return conf
utility function to load the pysaml2 configuration .