Bandaid for sqlalchemy. Lots of stuff here seems bogus. :-(

This commit is contained in:
Guido van Rossum
2016-03-13 17:37:02 -07:00
parent cae70c3707
commit 540a9e18f7
3 changed files with 5 additions and 4 deletions

View File

@@ -15,10 +15,8 @@ DATETIME = base.DATETIME
DECIMAL = base.DECIMAL
DOUBLE = base.DOUBLE
ENUM = base.ENUM
DECIMAL = base.DECIMAL
FLOAT = base.FLOAT
INTEGER = base.INTEGER
INTEGER = base.INTEGER
LONGBLOB = base.LONGBLOB
LONGTEXT = base.LONGTEXT
MEDIUMBLOB = base.MEDIUMBLOB

View File

@@ -0,0 +1,3 @@
# Dummy until I figure out something better.
class Connectable:
pass

View File

@@ -3,7 +3,8 @@
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
import base
from . import base
strategies = ... # type: Any
@@ -26,7 +27,6 @@ class MockEngineStrategy(EngineStrategy):
name = ... # type: Any
def create(self, name_or_url, executor, **kwargs): ...
class MockConnection(base.Connectable):
execute = ... # type: Any
def __init__(self, dialect, execute) -> None: ...
engine = ... # type: Any
dialect = ... # type: Any