8000 mypy google.cloud workaround · GoogleChrome/chromium-dashboard@fc8061a · GitHub
[go: up one dir, main page]

Skip to content

Commit fc8061a

Browse files
mypy google.cloud workaround
python/mypy#12985
1 parent 9adef17 commit fc8061a

14 files changed

+14
-14
lines changed

api/accounts_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
import logging
1717

18-
from google.cloud import ndb
18+
from google.cloud import ndb # type: ignore
1919

2020
from framework import basehandlers
2121
from framework import permissions

framework/basehandlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import werkzeug.exceptions
2727

2828
import google.appengine.api
29-
from google.cloud import ndb
29+
from google.cloud import ndb # type: ignore
3030

3131
import settings
3232
from framework import csp

framework/cloud_tasks_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
if not settings.UNIT_TEST_MODE:
2727
import grpc # See requirements.dev.txt.
2828
from google.api_core import retry
29-
from google.cloud import tasks
29+
from google.cloud import tasks # type: ignore
3030

3131

3232

framework/secrets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import string
2121
import time
2222

23-
from google.cloud import ndb
23+
from google.cloud import ndb # type: ignore
2424

2525

2626
# For random key generation

internals/core_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import re
2323
from typing import Any, Optional
2424

25-
from google.cloud import ndb
25+
from google.cloud import ndb # type: ignore
2626

2727
from framework import rediscache
2828
from framework import users

internals/metrics_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515

16-
from google.cloud import ndb
16+
from google.cloud import ndb # type: ignore
1717

1818

1919
# UMA metrics.

internals/notifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import urllib
2323

2424
from framework import permissions
25-
from google.cloud import ndb
25+
from google.cloud import ndb # type: ignore
2626

2727
from django.utils.html import conditional_escape as escape
2828

internals/notifier_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import flask
2323
from unittest import mock
2424
import werkzeug.exceptions # Flask HTTP stuff.
25-
from google.cloud import ndb
25+
from google.cloud import ndb # type: ignore
2626

2727
from framework import users
2828

internals/review_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import datetime
1616
import logging
17-
from google.cloud import ndb
17+
from google.cloud import ndb # type: ignore
1818

1919

2020
class Approval(ndb.Model):

internals/schema_migration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import logging
16-
from google.cloud import ndb
16+
from google.cloud import ndb # type: ignore
1717

1818
from framework.basehandlers import FlaskHandler
1919
from internals.core_models import Feature, FeatureEntry, MilestoneSet, Stage

0 commit comments

Comments
 (0)
0