decorators not processed successfully with alpha_vantage #8303
Labels
Decorators
Lib specific 💅
This affect the code from a particular library
Needs investigation 🔬
A bug or crash where it's not immediately obvious what is happenning
Bug description
Using
pip install --upgrade alpha_vantage
and the following application (av_pylint_test.py):Unfortunately, to get an ALPHA VANTAGE API key they do require to register with their website. Using the
demo
key doesn't work.This may be a duplicate of #7437 but I'm not sure if that is the case or not.
Following the code a little bit:
The _call_api_on_func looks like it creates and returns a wrapper function that invokes the API which is then passed into _output_format which creates another wrapper around the function to convert the output of the API into the requested format.
Command used
Pylint output
Expected behavior
pylint would follow the decorators and understand the actual output.
Pylint version
OS / Environment
vscode devcontainer based upon mcr.microsoft.com/devcontainers/python:3
Additional dependencies
alpha-vantage==2.3.1
pandas==1.5.3
There are a lot of other libraries loaded into this environment. In case there are additional dependencies that I didn't realize, this is the full output of the
pip freeze
:The text was updated successfully, but these errors were encountered: