Object of type "object" is not callable when using `use_cassette` decorator
roblevy opened this issue · comments
In my IDE, my type checker is complaining about the use of the use_cassette
decorator:
Object of type "object" is not callable
If I instead use a context manager I get:
Object of type "object*" cannot be used with "with" because it does not implement __exit__
This seems like it's the correct usage so why is my linter moaning at me?
Hi @roblevy I'm not sure what your IDE is and what it's doing and why vcr
would be type object
. If you want help please file a bug about something that can be reproduced outside of an IDE with plain Python and provide enough details to reproduce it, Python version, operating system, version of VCR.py and so on. Thanks for your understanding, closing as "cannot reproduce" this time.