mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Bandaid for sqlalchemy. Lots of stuff here seems bogus. :-(
This commit is contained in:
@@ -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
|
||||
|
||||
3
third_party/2.7/sqlalchemy/engine/base.pyi
vendored
Normal file
3
third_party/2.7/sqlalchemy/engine/base.pyi
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Dummy until I figure out something better.
|
||||
class Connectable:
|
||||
pass
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user