Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions third_party/2/sqlalchemy/sql/sqltypes.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ class String(TypeEngine, Concatenable):
convert_unicode=False,
unicode_error=None,
_warn_on_bytestring=False): ...
def literal_processor(self, dialect): ...
def bind_processor(self, dialect): ...
def result_processor(self, dialect, coltype): ...
@property
def python_type(self): ...
def get_dbapi_type(self, dbapi): ...

class Text(String): ...
class Unicode(String): ...
Expand All @@ -23,7 +17,8 @@ class SmallInteger(Integer): ...
class BigInteger(Integer): ...
class Numeric(TypeEngine, _DateAffinity): ...
class Float(Numeric): ...
class DateTime(TypeEngine, _DateAffinity): ...
class DateTime(TypeEngine, _DateAffinity):
def __init__(self, timezone=None): ...
class Date(TypeEngine, _DateAffinity): ...
class Time(TypeEngine, _DateAffinity): ...
class _Binary(TypeEngine): ...
Expand Down
9 changes: 8 additions & 1 deletion third_party/2/sqlalchemy/sql/type_api.pyi
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
from .. import util
from .visitors import Visitable, VisitableType

class TypeEngine(Visitable): ...
class TypeEngine(Visitable):
@property
def python_type(self): ...
def get_dbapi_type(self, dbapi): ...
def literal_processor(self, dialect): ...
def bind_processor(self, dialect): ...
def result_processor(self, dialect, coltype): ...

class VisitableCheckKWArg(util.EnsureKWArgType, VisitableType): ...
# TODO: class UserDefinedType(util.with_metaclass(VisitableCheckKWArg, TypeEngine)):
class UserDefinedType(VisitableCheckKWArg, TypeEngine): ...
Expand Down