@@ -92,38 +92,38 @@ class Column(SchemaItem, ColumnClause[_T]):
92
92
default : Any = ..., doc : str = ..., key : str = ..., index : bool = ..., info : Mapping [str , Any ] = ...,
93
93
nullable : bool = ..., onupdate : Any = ..., primary_key : bool = ..., server_default : Any = ...,
94
94
server_onupdate : Union [FetchedValue , FunctionElement ] = ..., quote : Optional [bool ] = ..., unique : bool = ...,
95
- system : bool = ..., comment : str = ...) -> None : ...
95
+ system : bool = ..., comment : Optional [ str ] = ...) -> None : ...
96
96
@overload
97
97
def __init__ (self , name : str , type_ : TypeEngine [_T ], * args : Any , autoincrement : Union [bool , str ] = ...,
98
98
default : Any = ..., doc : str = ..., key : str = ..., index : bool = ..., info : Mapping [str , Any ] = ...,
99
99
nullable : bool = ..., onupdate : Any = ..., primary_key : bool = ..., server_default : Any = ...,
100
100
server_onupdate : Union [FetchedValue , FunctionElement ] = ..., quote : Optional [bool ] = ..., unique : bool = ...,
101
- system : bool = ..., comment : str = ...) -> None : ...
101
+ system : bool = ..., comment : Optional [ str ] = ...) -> None : ...
102
102
@overload
103
103
def __init__ (self , name : str , type_ : ForeignKey , * args : Any , autoincrement : Union [bool , str ] = ...,
104
104
default : Any = ..., doc : str = ..., key : str = ..., index : bool = ..., info : Mapping [str , Any ] = ...,
105
105
nullable : bool = ..., onupdate : Any = ..., primary_key : bool = ..., server_default : Any = ...,
106
106
server_onupdate : Union [FetchedValue , FunctionElement ] = ..., quote : Optional [bool ] = ..., unique : bool = ...,
107
- system : bool = ..., comment : str = ...) -> None : ...
107
+ system : bool = ..., comment : Optional [ str ] = ...) -> None : ...
108
108
# Now without a name argument.
109
109
@overload
110
110
def __init__ (self , type_ : Type [TypeEngine [_T ]], * args : Any , autoincrement : Union [bool , str ] = ...,
111
111
default : Any = ..., doc : str = ..., key : str = ..., index : bool = ..., info : Mapping [str , Any ] = ...,
112
112
nullable : bool = ..., onupdate : Any = ..., primary_key : bool = ..., server_default : Any = ...,
113
113
server_onupdate : Union [FetchedValue , FunctionElement ] = ..., quote : Optional [bool ] = ..., unique : bool = ...,
114
- system : bool = ..., comment : str = ...) -> None : ...
114
+ system : bool = ..., comment : Optional [ str ] = ...) -> None : ...
115
115
@overload
116
116
def __init__ (self , type_ : TypeEngine [_T ], * args : Any , autoincrement : Union [bool , str ] = ...,
117
117
default : Any = ..., doc : str = ..., key : str = ..., index : bool = ..., info : Mapping [str , Any ] = ...,
118
118
nullable : bool = ..., onupdate : Any = ..., primary_key : bool = ..., server_default : Any = ...,
119
119
server_onupdate : Union [FetchedValue , FunctionElement ] = ..., quote : Optional [bool ] = ..., unique : bool = ...,
120
- system : bool = ..., comment : str = ...) -> None : ...
120
+ system : bool = ..., comment : Optional [ str ] = ...) -> None : ...
121
121
@overload
122
122
def __init__ (self , type_ : ForeignKey , * args : Any , autoincrement : Union [bool , str ] = ...,
123
123
default : Any = ..., doc : str = ..., key : str = ..., index : bool = ..., info : Mapping [str , Any ] = ...,
124
124
nullable : bool = ..., onupdate : Any = ..., primary_key : bool = ..., server_default : Any = ...,
125
125
server_onupdate : Union [FetchedValue , FunctionElement ] = ..., quote : Optional [bool ] = ..., unique : bool = ...,
126
- system : bool = ..., comment : str = ...) -> None : ...
126
+ system : bool = ..., comment : Optional [ str ] = ...) -> None : ...
127
127
def references (self , column : Column [Any ]) -> bool : ...
128
128
def append_foreign_key (self , fk : ForeignKey ) -> None : ...
129
129
def copy (self : _C , ** kw : Any ) -> _C : ...
0 commit comments