def ae_save(token, token_key):
 import gdata.alt.app_engine
 key_name = ''.join(('gd_auth_token', token_key))
 return gdata.alt.app_engine.set_token(key_name, token_to_blob(token))

def ae_save ( token , token_key ) : import gdata . alt . app_engine key_name = '' . join ( ( 'gd_auth_token' , token_key ) ) return gdata . alt . app_engine . set_token ( key_name , token_to_blob ( token ) )
stores an auth token in the app engine datastore .