]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix typo (#9996)
authorSeonbeom Kim <kymj1@naver.com>
Thu, 22 Jun 2023 19:30:07 +0000 (04:30 +0900)
committerGitHub <noreply@github.com>
Thu, 22 Jun 2023 19:30:07 +0000 (21:30 +0200)
onpudate -> onupdate when onupdate is None

lib/sqlalchemy/sql/schema.py

index e17d1944594cc1fa9a0efb804d826a99e5c8152e..721b9ee63789d2ac8be2914f6b078df0f5dbed75 100644 (file)
@@ -2123,7 +2123,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_T]):
             self.onupdate = onupdate
             l_args.append(onupdate)
         else:
-            self.onpudate = None
+            self.onupdate = None
 
         if server_default is not None:
             if isinstance(server_default, FetchedValue):