python-type-stubs/sqlalchemy/schema.pyi

49 строки
1.5 KiB
Python

from .sql.base import SchemaVisitor as SchemaVisitor
from .sql.schema import (
BLANK_SCHEMA as BLANK_SCHEMA,
CheckConstraint as CheckConstraint,
Column as Column,
ColumnDefault as ColumnDefault,
Constraint as Constraint,
DefaultClause as DefaultClause,
DefaultGenerator as DefaultGenerator,
FetchedValue as FetchedValue,
ForeignKey as ForeignKey,
ForeignKeyConstraint as ForeignKeyConstraint,
Index as Index,
MetaData as MetaData,
PassiveDefault as PassiveDefault,
PrimaryKeyConstraint as PrimaryKeyConstraint,
SchemaItem as SchemaItem,
Sequence as Sequence,
Table as Table,
ThreadLocalMetaData as ThreadLocalMetaData,
UniqueConstraint as UniqueConstraint,
ColumnCollectionConstraint as ColumnCollectionConstraint,
ColumnCollectionMixin as ColumnCollectionMixin
)
from .sql.naming import conv as conv
from .sql.ddl import (
DDL as DDL,
CreateTable as CreateTable,
DropTable as DropTable,
CreateSequence as CreateSequence,
DropSequence as DropSequence,
CreateIndex as CreateIndex,
DropIndex as DropIndex,
CreateSchema as CreateSchema,
DropSchema as DropSchema,
_DropView as _DropView,
CreateColumn as CreateColumn,
AddConstraint as AddConstraint,
DropConstraint as DropConstraint,
DDLBase as DDLBase,
DDLElement as DDLElement,
_CreateDropBase as _CreateDropBase,
_DDLCompiles as _DDLCompiles,
sort_tables as sort_tables,
sort_tables_and_constraints as sort_tables_and_constraints
)