connectors_utility/google/cli.py
def init(ctx, client_secret_file):
    """ Invoke authentication workflow and get a the access token
    """
    ctx.put_file(NAMESPACE, 'client_secret_file', client_secret_file)
    creds = auth.get_credentials('credentials.json', client_secret_file)
    ctx.put_file(NAMESPACE, 'credentials_file', 'credentials.json')
    os.remove('credentials.json')
    click.echo(creds.to_json())
 Invoke authentication workflow and get a the access token
    
Invoke authentication workflow and get a the access token
Invoke authentication workflow and get a the access token
def init(ctx, client_secret_file):
    ctx.put_file(NAMESPACE, 'client_secret_file', client_secret_file)
    creds = auth.get_credentials('credentials.json', client_secret_file)
    ctx.put_file(NAMESPACE, 'credentials_file', 'credentials.json')
    os.remove('credentials.json')
    click.echo(creds.to_json())
def init ( ctx , client_secret_file ) : ctx . put_file ( NAMESPACE , 'client_secret_file' , client_secret_file ) creds = auth . get_credentials ( 'credentials.json' , client_secret_file ) ctx . put_file ( NAMESPACE , 'credentials_file' , 'credentials.json' ) os . remove ( 'credentials.json' ) click . echo ( creds . to_json ( ) )
Invoke authentication workflow and get a the access token
Invoke authentication workflow and get a the access token
""" Invoke authentication workflow and get a the access token
    """
ctx
client_secret_file