diff --git a/third_party/2/sqlalchemy/sql/sqltypes.pyi b/third_party/2/sqlalchemy/sql/sqltypes.pyi index 9c9806a87..6c51ef7d8 100644 --- a/third_party/2/sqlalchemy/sql/sqltypes.pyi +++ b/third_party/2/sqlalchemy/sql/sqltypes.pyi @@ -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): ... @@ -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): ... diff --git a/third_party/2/sqlalchemy/sql/type_api.pyi b/third_party/2/sqlalchemy/sql/type_api.pyi index ccc0870c0..9b8d0e87e 100644 --- a/third_party/2/sqlalchemy/sql/type_api.pyi +++ b/third_party/2/sqlalchemy/sql/type_api.pyi @@ -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): ...