From d85d7a736c155ba5647e0025904b908a8122fe88 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 (cherry picked from commit 2202fa4c1318c5342625159e035793cb11fa50bb) --- 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 764f9a382e..fa4c7827fc 100644 --- a/lib/sqlalchemy/sql/sqltypes.py +++ b/lib/sqlalchemy/sql/sqltypes.py @@ -306,15 +306,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. @@ -330,15 +321,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.2