Exemple #1
0
def pull_data_for(member):
    for network, handler in networks.iteritems():
        key_name = network + separator + str(
            member.parent().key().id()) + separator + str(member.user_id)
        third_party_user = ThirdPartyUser.get_by_key_name(key_name)
        if third_party_user:
            handler.pull_data(member, third_party_user)
Exemple #2
0
	def get(self):
		network = self.request.get('network')
		email = self.request.get('email')
		user = User.get_by_key_name(email)
		third_party_user = ThirdPartyUser.get_by_key_name(network, parent=user)
		networks[network].pull_data(user, third_party_user)
Exemple #3
0
 def get(self):
     email = self.request.get('email')
     user = User.get_by_key_name(email)
     third_party_user = ThirdPartyUser.get_by_key_name(GITHUB, parent=user)
     github.pull_data(user, third_party_user)
Exemple #4
0
 def get(self):
     email = self.request.get('email')
     user = User.get_by_key_name(email)
     third_party_user = ThirdPartyUser.get_by_key_name(GITHUB, parent=user)
     github.pull_data(user, third_party_user)
Exemple #5
0
 def get(self):
     network = self.request.get('network')
     email = self.request.get('email')
     user = User.get_by_key_name(email)
     third_party_user = ThirdPartyUser.get_by_key_name(network, parent=user)
     networks[network].pull_data(user, third_party_user)
Exemple #6
0
def pull_data_for(member):
    for network, handler in networks.iteritems():
        key_name = network + separator + str(member.parent().key().id()) + separator + str(member.user_id)
        third_party_user = ThirdPartyUser.get_by_key_name(key_name)
        if third_party_user:
            handler.pull_data(member, third_party_user)