Skip to content

Commit f4b5a05

Browse files
authored
Merge pull request #33 from bryanforbes/improve-sql-naming
Improve `sql.naming`
2 parents 4e1a045 + c95b7f4 commit f4b5a05

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

sqlalchemy-stubs/sql/naming.pyi

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
from typing import Any
22

3-
from . import events as events
4-
from .elements import conv as conv
5-
from .schema import CheckConstraint as CheckConstraint
6-
from .schema import Column as Column
7-
from .schema import Constraint as Constraint
8-
from .schema import ForeignKeyConstraint as ForeignKeyConstraint
9-
from .schema import Index as Index
10-
from .schema import PrimaryKeyConstraint as PrimaryKeyConstraint
11-
from .schema import Table as Table
12-
from .schema import UniqueConstraint as UniqueConstraint
13-
from .. import event as event
14-
from .. import exc as exc
3+
from .schema import Table
154

165
class ConventionDict:
176
const: Any = ...
187
table: Any = ...
198
convention: Any = ...
20-
def __init__(self, const: Any, table: Any, convention: Any) -> None: ...
21-
def __getitem__(self, key: Any): ...
9+
def __init__(self, const: Any, table: Table, convention: Any) -> None: ...
10+
def __getitem__(self, key: Any) -> Any: ...

0 commit comments

Comments
 (0)