[LNT] r349587 - Help mypy understand this
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 18 16:10:32 PST 2018
Author: cmatthews
Date: Tue Dec 18 16:10:31 2018
New Revision: 349587
URL: http://llvm.org/viewvc/llvm-project?rev=349587&view=rev
Log:
Help mypy understand this
Modified:
lnt/trunk/lnt/server/db/testsuite.py
Modified: lnt/trunk/lnt/server/db/testsuite.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/testsuite.py?rev=349587&r1=349586&r2=349587&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/testsuite.py (original)
+++ lnt/trunk/lnt/server/db/testsuite.py Tue Dec 18 16:10:31 2018
@@ -8,13 +8,12 @@ import testsuitedb
import util
import sqlalchemy
-import sqlalchemy.ext.declarative
import sqlalchemy.orm
from sqlalchemy import Column, Integer, ForeignKey, String, Binary
from sqlalchemy.orm import relation
from lnt.util import logger
-Base = sqlalchemy.ext.declarative.declarative_base()
+Base = sqlalchemy.ext.declarative.declarative_base() # type: sqlalchemy.ext.declarative.api.DeclarativeMeta
class SampleType(Base):
More information about the llvm-commits
mailing list