From: Mike Bayer Date: Sun, 23 Jun 2024 14:18:47 +0000 (-0400) Subject: fix default label style doc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c43238252f96a1f9370d1bc7ff440897b751b2b8;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix default label style doc Change-Id: I793f7b62c6c0b551ab1957cabcff685885b6e51c --- diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 216ddd3626..1e06754e6f 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -3861,7 +3861,7 @@ class GenerativeSelect(SelectBase, Generative): :attr:`_sql.SelectLabelStyle.LABEL_STYLE_DISAMBIGUATE_ONLY`, :attr:`_sql.SelectLabelStyle.LABEL_STYLE_TABLENAME_PLUS_COL`, and :attr:`_sql.SelectLabelStyle.LABEL_STYLE_NONE`. The default style is - :attr:`_sql.SelectLabelStyle.LABEL_STYLE_TABLENAME_PLUS_COL`. + :attr:`_sql.SelectLabelStyle.LABEL_STYLE_DISAMBIGUATE_ONLY`. In modern SQLAlchemy, there is not generally a need to change the labeling style, as per-expression labels are more effectively used by