From: Mike Bayer Date: Sun, 23 Jun 2024 14:18:47 +0000 (-0400) Subject: fix default label style doc X-Git-Tag: rel_1_4_53~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8128b5609630ba318bd195406240b468ada8b5da;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix default label style doc Change-Id: I793f7b62c6c0b551ab1957cabcff685885b6e51c (cherry picked from commit c43238252f96a1f9370d1bc7ff440897b751b2b8) --- diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 81fd45da92..95d2fdf245 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -3582,7 +3582,7 @@ class GenerativeSelect(DeprecatedSelectBaseGenerations, SelectBase): :data:`_sql.LABEL_STYLE_DISAMBIGUATE_ONLY`, :data:`_sql.LABEL_STYLE_TABLENAME_PLUS_COL`, and :data:`_sql.LABEL_STYLE_NONE`. The default style is - :data:`_sql.LABEL_STYLE_TABLENAME_PLUS_COL`. + :data:`_sql.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