Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP complains about missing parameters for VCR.use_casette(...) #866

Open
RasmusN opened this issue Aug 9, 2024 · 0 comments
Open

LSP complains about missing parameters for VCR.use_casette(...) #866

RasmusN opened this issue Aug 9, 2024 · 0 comments

Comments

@RasmusN
Copy link

RasmusN commented Aug 9, 2024

The following code snippet will trigger an error complaint from pyright LSP.

@vcr.use_cassette("foo.yaml")
def test_foo(): ...

The error:

Diagnostics:
1. Arguments missing for parameters "instance", "args", "kwargs" [reportCallIssue]

I can't really understand where the error comes from, because use_casette does neither have a parameter called "instance" nor "args".

pyvcr version: 6.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant