Message 386100 - Python tracker (original) (raw)
The doc for sqlite3.create_function shows the signature as follows:
https://docs.python.org/3.9/library/sqlite3.html#sqlite3.Connection.create_function
create_function(name, num_params, func, *, deterministic=False)But it appears that the parameter name is narg, not num_params. Trying num_params yields:
TypeError: function missing required argument 'narg' (pos 2)