TypeError: __init__() missing 1 required positional argument: 'sql'
时间: 2023-11-06 09:08:49 浏览: 231
This error occurs when you are trying to initialize a class object and have not provided all the required arguments. In this case, the "__init__()" method of the class expects an argument named "sql", but you have not provided it.
To fix this error, you need to provide the missing "sql" argument when initializing the object. Check the code where you are creating the object and make sure all the required arguments are provided.
阅读全文