Example #1
0
 def get_setting(self, name):
     settings = merge_two_dicts(self.config, {
         'pipeline': [
             'social_core.pipeline.social_auth.social_details',
             'jet_bridge_base.external_auth.pipeline.save_extra_data',
             'jet_bridge_base.external_auth.pipeline.return_result'
         ]
     })
     key = name.lower()
     return settings[key]
Example #2
0
 def request_data(self, merge=True):
     return merge_two_dicts(self.request.data, self.request.query_arguments)