Skip to content

Commit b7e285f

Browse files
authored
fix Insert.on_conflict_do_nothing return type (#246)
1 parent 6ed0dd7 commit b7e285f

File tree

1 file changed

+1
-1
lines changed
  • sqlalchemy-stubs/dialects/postgresql

1 file changed

+1
-1
lines changed

sqlalchemy-stubs/dialects/postgresql/dml.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Insert(StandardInsert):
3535
] = ...,
3636
index_elements: Optional[Sequence[Union[str, Column]]] = ...,
3737
index_where: Optional[Any] = ...,
38-
) -> "Index": ...
38+
) -> "Insert": ...
3939

4040
insert: Any
4141

0 commit comments

Comments
 (0)