Skip to content

Commit 00c8608

Browse files
committed
add some imports based on Stiivi's tests
1 parent a4b2129 commit 00c8608

File tree

5 files changed

+40
-1
lines changed

5 files changed

+40
-1
lines changed

third_party/2and3/sqlalchemy/__init__.pyi

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,25 @@ from .engine import (
125125
create_engine as create_engine,
126126
engine_from_config as engine_from_config
127127
)
128+
129+
from . import connectors as connectors
130+
from . import databases as databases
131+
from . import dialects as dialects
132+
from . import engine as engine
133+
from . import event as event
134+
from . import ext as ext
135+
from . import orm as orm
136+
from . import sql as sql
137+
from . import util as util
138+
from . import cprocessors as cprocessors
139+
from . import cresultproxy as cresultproxy
140+
from . import cutils as cutils
141+
from . import events as events
142+
from . import exc as exc
143+
from . import inspection as inspection
144+
from . import interfaces as interfaces
145+
from . import log as log
146+
from . import pool as pool
147+
from . import processors as processors
148+
from . import schema as schema
149+
from . import types as types

third_party/2and3/sqlalchemy/connectors/__init__.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
# NOTE: This dynamically typed stub was automatically generated by stubgen.
44

55
class Connector(object): ...
6+
7+
from . import mxodbc as mxodbc
8+
from . import pyodbc as pyodbc
9+
from . import zxJDBC as zxJDBC

third_party/2and3/sqlalchemy/dialects/__init__.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ from .. import util
1414

1515
registry = ... # type: util.PluginLoader
1616
plugins = ... # type: util.PluginLoader
17+
18+
from . import firebird as firebird, mssql as mssql, mysql as mysql, oracle as oracle, postgresql as postgresql, sqlite as sqlite, sybase as sybase

third_party/2and3/sqlalchemy/ext/__init__.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
# NOTE: This dynamically typed stub was automatically generated by stubgen.
44

55
from .. import util as _sa_util
6+
7+
from . import declarative as declarative, associationproxy as associationproxy, automap as automap, baked as baked, compiler as compiler, horizontal_shard as horizontal_shard, hybrid as hybrid, indexable as indexable, instrumentation as instrumentation, mutable as mutable, orderinglist as orderinglist, serializer as serializer

third_party/2and3/sqlalchemy/sql/operators.pyi

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
#
33
# NOTE: This dynamically typed stub was automatically generated by stubgen.
44

5+
import sys
56
from typing import Any, Optional
67

7-
div = ... # type: Any
8+
from operator import (
9+
and_ as and_, or_ as or_, inv as inv, add as add, mul as mul, sub as sub, mod as mod, truediv as truediv, lt as lt, le as le, ne as ne, gt as gt, ge as ge, eq as eq, neg as neg,
10+
getitem as getitem, lshift as lshift, rshift as rshift, contains as contains
11+
)
12+
13+
if sys.version_info < (3, 0):
14+
from operator import div as div
15+
else:
16+
div = truediv
817

918
class Operators(object):
1019
def __and__(self, other): ...

0 commit comments

Comments
 (0)