From: Federico Caselli Date: Mon, 24 Feb 2025 11:27:50 +0000 (+0100) Subject: fix docs typo X-Git-Tag: rel_2_0_39~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8686885cc78900586dfa8e1ca860e544db79c0d5;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix docs typo Fixes: #12371 Change-Id: I86e6e34d407223d66b2cbcb21ec10dc292676449 (cherry picked from commit 15b1e14db21d2fa0bbc7b68e80883efb6334ad30) --- diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py index 8daa8864d2..a6c24ce618 100644 --- a/lib/sqlalchemy/sql/schema.py +++ b/lib/sqlalchemy/sql/schema.py @@ -2839,7 +2839,7 @@ class ForeignKey(DialectKWArgs, SchemaItem): :param ondelete: Optional string. If set, emit ON DELETE when issuing DDL for this constraint. Typical values include CASCADE, - DELETE and RESTRICT. + SET NULL and RESTRICT. :param deferrable: Optional bool. If set, emit DEFERRABLE or NOT DEFERRABLE when issuing DDL for this constraint. @@ -4628,7 +4628,7 @@ class ForeignKeyConstraint(ColumnCollectionConstraint): :param ondelete: Optional string. If set, emit ON DELETE when issuing DDL for this constraint. Typical values include CASCADE, - DELETE and RESTRICT. + SET NULL and RESTRICT. :param deferrable: Optional bool. If set, emit DEFERRABLE or NOT DEFERRABLE when issuing DDL for this constraint.