def account(self, profile): return ripple.get_account(self, profile)
def render(self, context): profile = self.profile_var.resolve(context) partner = self.partner_var.resolve(context) user_account = ripple.get_account(profile, partner) context[self.target_var_name] = user_account return ''