

def ae_load(token_key):
    'Retrieves a token object from the App Engine datastore.\n\n  This is a convenience method for using the library with App Engine.\n  See also ae_save.\n\n  Args:\n    token_key: str The unique key associated with the desired token when it\n               was saved using ae_save.\n\n  Returns:\n    A token object if there was a token associated with the token_key or None\n    if the key could not be found.\n  '
    import gdata.alt.app_engine
    key_name = ''.join(('gd_auth_token', token_key))
    token_string = gdata.alt.app_engine.get_token(key_name)
    if (token_string is not None):
        return token_from_blob(token_string)
    else:
        return None

dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/gauth.py ae_load/original