@@ -56,7 +56,6 @@ _CP = TypeVar("_CP", bound=Computed)
56
56
_ID = TypeVar ("_ID" , bound = Identity )
57
57
58
58
_ServerDefaultType = Union [FetchedValue , str , TextClause , ColumnElement [_T ]]
59
- _ServerOnUpdateType = Union [FetchedValue , FunctionElement ]
60
59
61
60
class SchemaItem (SchemaEventTarget , visitors .Visitable ):
62
61
__visit_name__ : str = ...
@@ -145,7 +144,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_TE]):
145
144
nullable : bool = ...
146
145
default : Optional [Any ] = ...
147
146
server_default : Optional [_ServerDefaultType [_TE ]] = ...
148
- server_onupdate : Optional [_ServerOnUpdateType ] = ...
147
+ server_onupdate : Optional [FetchedValue ] = ...
149
148
index : Optional [bool ] = ...
150
149
unique : Optional [bool ] = ...
151
150
system : bool = ...
@@ -172,7 +171,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_TE]):
172
171
onupdate : Optional [Any ] = ...,
173
172
primary_key : bool = ...,
174
173
server_default : Optional [_ServerDefaultType [Any ]] = ...,
175
- server_onupdate : Optional [_ServerOnUpdateType ] = ...,
174
+ server_onupdate : Optional [FetchedValue ] = ...,
176
175
quote : Optional [bool ] = ...,
177
176
unique : Optional [bool ] = ...,
178
177
system : bool = ...,
@@ -193,7 +192,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_TE]):
193
192
onupdate : Optional [Any ] = ...,
194
193
primary_key : bool = ...,
195
194
server_default : Optional [_ServerDefaultType [Any ]] = ...,
196
- server_onupdate : Optional [_ServerOnUpdateType ] = ...,
195
+ server_onupdate : Optional [FetchedValue ] = ...,
197
196
quote : Optional [bool ] = ...,
198
197
unique : Optional [bool ] = ...,
199
198
system : bool = ...,
@@ -216,7 +215,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_TE]):
216
215
onupdate : Optional [Any ] = ...,
217
216
primary_key : bool = ...,
218
217
server_default : Optional [_ServerDefaultType [_TE ]] = ...,
219
- server_onupdate : Optional [_ServerOnUpdateType ] = ...,
218
+ server_onupdate : Optional [FetchedValue ] = ...,
220
219
quote : Optional [bool ] = ...,
221
220
unique : Optional [bool ] = ...,
222
221
system : bool = ...,
@@ -238,7 +237,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_TE]):
238
237
onupdate : Optional [Any ] = ...,
239
238
primary_key : bool = ...,
240
239
server_default : Optional [_ServerDefaultType [_TE ]] = ...,
241
- server_onupdate : Optional [_ServerOnUpdateType ] = ...,
240
+ server_onupdate : Optional [FetchedValue ] = ...,
242
241
quote : Optional [bool ] = ...,
243
242
unique : Optional [bool ] = ...,
244
243
system : bool = ...,
0 commit comments