Skip to content

Add service account authentication in bigframes read_gbq method like in pandas-gbq package #714

Open
@Et9797

Description

@Et9797

Very simple in pandas-gbq:

from google.oauth2 import service_account
import pandas_gbq

credentials = service_account.Credentials.from_service_account_file('
    path/to/key.json'
)
df = pandas_gbq.read_gbq(query, project_id="YOUR-PROJECT-ID", credentials=credentials)

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery-dataframes API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions