From 2202fa4c1318c5342625159e035793cb11fa50bb Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 6 Feb 2024 14:11:05 -0500 Subject: [PATCH] remove unneeded constructors for Unicode, UnicodeText References: https://github.com/sqlalchemy/sqlalchemy/pull/10970 Change-Id: I59461bcd6359314c0c0a99923da5e3f3d3ddbfff --- lib/sqlalchemy/sql/sqltypes.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/sqlalchemy/sql/sqltypes.py b/lib/sqlalchemy/sql/sqltypes.py index 5a8c86b166..a608ea4046 100644 --- a/lib/sqlalchemy/sql/sqltypes.py +++ b/lib/sqlalchemy/sql/sqltypes.py @@ -307,15 +307,6 @@ class Unicode(String): __visit_name__ = "unicode" - def __init__(self, length=None, **kwargs): - """ - Create a :class:`.Unicode` object. - - Parameters are the same as that of :class:`.String`. - - """ - super().__init__(length=length, **kwargs) - class UnicodeText(Text): """An unbounded-length Unicode string type. @@ -331,15 +322,6 @@ class UnicodeText(Text): __visit_name__ = "unicode_text" - def __init__(self, length=None, **kwargs): - """ - Create a Unicode-converting Text type. - - Parameters are the same as that of :class:`_expression.TextClause`. - - """ - super().__init__(length=length, **kwargs) - class Integer(HasExpressionLookup, TypeEngine[int]): """A type for ``int`` integers.""" -- 2.47.3