I am getting the following error when I use pyright to check typing parametrize function:
error: Argument missing for parameter "host_class_or_module" (reportGeneralTypeIssues)
error: Argument missing for parameter "fixtures_dest" (reportGeneralTypeIssues)
This errror is related to my piece of code:
from pytest_cases import parametrize
class Authorized:
@parametrize("path", example_paths) # <----- here comes the error
def case_ValidToken(self, path):
return path, {"Authorization": f"Bearer something"}
I am getting the following error when I use pyright to check typing
parametrizefunction:This errror is related to my piece of code: