incomplete type declaration at sqlite3.Connection.create_aggregate()
#12141
Labels
stubs: false positive
Type checkers report false errors
Bug report
Bug description:
The create_aggregate documentation does not specify a result type of the aggregation and even allows for multiple aggregating values per row (
n_arg
parameter).However, the type declaration at
dbapi2.pyi
does not reflect that (comments added by me):I think that this is not correct. At least, I have working code that aggregates multiple strings into a combined one.
Also, it is in stark contrast to other, way more generic, type declarations at the same place (comments added by me):
CPython versions tested on:
3.12
Operating systems tested on:
Windows
The text was updated successfully, but these errors were encountered: