@@ -56,7 +56,6 @@ _CP = TypeVar("_CP", bound=Computed)
5656_ID = TypeVar ("_ID" , bound = Identity )
5757
5858_ServerDefaultType = Union [FetchedValue , str , TextClause , ColumnElement [_T ]]
59- _ServerOnUpdateType = Union [FetchedValue , FunctionElement ]
6059
6160class SchemaItem (SchemaEventTarget , visitors .Visitable ):
6261 __visit_name__ : str = ...
@@ -145,7 +144,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_TE]):
145144 nullable : bool = ...
146145 default : Optional [Any ] = ...
147146 server_default : Optional [_ServerDefaultType [_TE ]] = ...
148- server_onupdate : Optional [_ServerOnUpdateType ] = ...
147+ server_onupdate : Optional [FetchedValue ] = ...
149148 index : Optional [bool ] = ...
150149 unique : Optional [bool ] = ...
151150 system : bool = ...
@@ -172,7 +171,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_TE]):
172171 onupdate : Optional [Any ] = ...,
173172 primary_key : bool = ...,
174173 server_default : Optional [_ServerDefaultType [Any ]] = ...,
175- server_onupdate : Optional [_ServerOnUpdateType ] = ...,
174+ server_onupdate : Optional [FetchedValue ] = ...,
176175 quote : Optional [bool ] = ...,
177176 unique : Optional [bool ] = ...,
178177 system : bool = ...,
@@ -193,7 +192,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_TE]):
193192 onupdate : Optional [Any ] = ...,
194193 primary_key : bool = ...,
195194 server_default : Optional [_ServerDefaultType [Any ]] = ...,
196- server_onupdate : Optional [_ServerOnUpdateType ] = ...,
195+ server_onupdate : Optional [FetchedValue ] = ...,
197196 quote : Optional [bool ] = ...,
198197 unique : Optional [bool ] = ...,
199198 system : bool = ...,
@@ -216,7 +215,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_TE]):
216215 onupdate : Optional [Any ] = ...,
217216 primary_key : bool = ...,
218217 server_default : Optional [_ServerDefaultType [_TE ]] = ...,
219- server_onupdate : Optional [_ServerOnUpdateType ] = ...,
218+ server_onupdate : Optional [FetchedValue ] = ...,
220219 quote : Optional [bool ] = ...,
221220 unique : Optional [bool ] = ...,
222221 system : bool = ...,
@@ -238,7 +237,7 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_TE]):
238237 onupdate : Optional [Any ] = ...,
239238 primary_key : bool = ...,
240239 server_default : Optional [_ServerDefaultType [_TE ]] = ...,
241- server_onupdate : Optional [_ServerOnUpdateType ] = ...,
240+ server_onupdate : Optional [FetchedValue ] = ...,
242241 quote : Optional [bool ] = ...,
243242 unique : Optional [bool ] = ...,
244243 system : bool = ...,
0 commit comments