code: def get_attributes(user, service):
      
      attributes = {}
      for path in get_callbacks(service):
          callback = import_string(path)
          attributes.update(callback(user, service))
      return attributes
docs: Return a dictionary of user attributes from the set of configured
      callback functions.