FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use Explicit Imports · twhetzel/python-docs-samples@ed17b92 · GitHub

Commit ed17b92

Browse files
Bill Prin
committed
Use Explicit Imports
Maybe a flake8 upgrade? Either way it’s suddenly unhappy
1 parent d994b91 commit ed17b92

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎appengine/standard/ndb/queries/snippets.py‎

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

1515
from google.appengine.ext import ndb
1616
from guestbook import Greeting
17-
from snippets_models import * # noqa
17+
from snippets_models import (Account, Address, Article,
18+
Bar, Contact, Employee, FlexEmployee, Manager)
1819

1920

2021
def query_account_equality():

‎appengine/standard/ndb/queries/snippets_test.py‎

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

1515
from guestbook import Greeting
1616
import snippets
17-
from snippets_models import * # noqa
17+
from snippets_models import (Account, Address, Article,
18+
Bar, Contact, FlexEmployee, Message)
1819

1920

2021
def test_query_account_equality(testbed):

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL