Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion appengine/standard_python37/pubsub/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

# [START app]
import base64
from flask import current_app, Flask, render_template, request
import json
import logging
import os

from flask import current_app, Flask, render_template, request
from google.auth.transport import requests
from google.cloud import pubsub_v1
from google.oauth2 import id_token
Expand All @@ -39,6 +39,7 @@
TOKENS = []
CLAIMS = []


# [START index]
@app.route('/', methods=['GET', 'POST'])
def index():
Expand Down
2 changes: 1 addition & 1 deletion appengine/standard_python37/pubsub/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
import datetime
import json
import os
import pytest

from google.auth import crypt
from google.auth import jwt
from google.oauth2 import id_token
import pytest

import main

Expand Down
2 changes: 2 additions & 0 deletions automl/beta/set_endpoint_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
# limitations under the License.

import os

import set_endpoint


PROJECT_ID = os.environ['GCLOUD_PROJECT']


Expand Down
4 changes: 3 additions & 1 deletion bigquery/bqml/data_scientist_tutorial_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import uuid

# [START bqml_data_scientist_tutorial_import_and_client]
from google.cloud import bigquery
# [END bqml_data_scientist_tutorial_import_and_client]
import pytest
import uuid


# [START bqml_data_scientist_tutorial_import_and_client]
client = bigquery.Client()
Expand Down