def scopes_to_string(scopes):
    if isinstance(scopes, six.string_types):
        return scopes
    else:
        return ' '.join(scopes)
Converts scope value to a string.
dataset/ETHPy150Open google/oauth2client/oauth2client/util.py/scopes_to_string