@@ -14,27 +14,28 @@ from ...sql.elements import ClauseElement
1414from ...sql .elements import ColumnElement
1515from ...sql .functions import GenericFunction
1616
17-
1817class Insert (StandardInsert ):
1918 stringify_dialect : str = ...
2019 @util .memoized_property
2120 def excluded (self ): ...
22-
2321 def on_conflict_do_update (
2422 self ,
25- constraint : Optional [Union [str , Index , Constraint , ExcludeConstraint ]] = ...,
23+ constraint : Optional [
24+ Union [str , Index , Constraint , ExcludeConstraint ]
25+ ] = ...,
2626 index_elements : Sequence [Union [str , Column ]] = ...,
2727 index_where : Optional [ClauseElement ] = ...,
2828 set_ : Mapping [str , Union [ColumnElement , GenericFunction ]] = ...,
2929 where : Optional [ClauseElement ] = ...,
30- ) -> 'Insert' : ...
31-
30+ ) -> "Insert" : ...
3231 def on_conflict_do_nothing (
3332 self ,
34- constraint : Optional [Union [str , Index , Constraint , ExcludeConstraint ]] = ...,
33+ constraint : Optional [
34+ Union [str , Index , Constraint , ExcludeConstraint ]
35+ ] = ...,
3536 index_elements : Optional [Sequence [Union [str , Column ]]] = ...,
3637 index_where : Optional [Any ] = ...,
37- ) -> ' Index' : ...
38+ ) -> " Index" : ...
3839
3940insert : Any
4041
@@ -45,7 +46,9 @@ class OnConflictClause(ClauseElement):
4546 inferred_target_whereclause : Any = ...
4647 def __init__ (
4748 self ,
48- constraint : Optional [Union [str , Index , Constraint , ExcludeConstraint ]] = ...,
49+ constraint : Optional [
50+ Union [str , Index , Constraint , ExcludeConstraint ]
51+ ] = ...,
4952 index_elements : Optional [Sequence [Union [str , Column ]]] = ...,
5053 index_where : Optional [Any ] = ...,
5154 ) -> None : ...
@@ -59,7 +62,9 @@ class OnConflictDoUpdate(OnConflictClause):
5962 update_whereclause : Any = ...
6063 def __init__ (
6164 self ,
62- constraint : Optional [Union [str , Index , Constraint , ExcludeConstraint ]] = ...,
65+ constraint : Optional [
66+ Union [str , Index , Constraint , ExcludeConstraint ]
67+ ] = ...,
6368 index_elements : Optional [Sequence [Union [str , Column ]]] = ...,
6469 index_where : Optional [Any ] = ...,
6570 set_ : Mapping [str , Union [ColumnElement , GenericFunction ]] = ...,
0 commit comments