Skip to content

Commit

Permalink
Merge pull request #68 from GoogleCloudPlatform/bq-comment
Browse files Browse the repository at this point in the history
Add reference to where to find apis.
  • Loading branch information
waprin committed Aug 25, 2015
2 parents 53fe64c + dedd12a commit d558924
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bigquery/samples/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ def get_service():

credentials = GoogleCredentials.get_application_default()

# The build() method takes care of injecting the proper scopes
# for the given service, when using application default credentials.
# Create and return the service object for v2 of the bigquery api. You can
# browse available apis and versions here:
# https://developers.google.com/api-client-library/python/apis/
#
# The build() method also takes care of injecting the necessary scopes
# to access the given service, when using application default credentials.
return build('bigquery', 'v2', credentials=credentials)
# [END get_service]

Expand Down

0 comments on commit d558924

Please sign in to comment.