Skip to content

Functionalities to accept no spam request sessions#377

Open
SnowCheetos wants to merge 2 commits intoRomelTorres:developfrom
SnowCheetos:nospam_session
Open

Functionalities to accept no spam request sessions#377
SnowCheetos wants to merge 2 commits intoRomelTorres:developfrom
SnowCheetos:nospam_session

Conversation

@SnowCheetos
Copy link

  • Implemented the ability to accept session as an init argument to AlphaVantage to allow no-spam request sessions.
  • Added session instance type checker to make sure that a valid type is used, otherwise default to None.
  • Modified AlphaVantage._handle_api_call to use the request session if it is available.
  • Added tests for the session request functionalities.
  • Confirmed that original methods of AlphaVantage functions properly with the modifications.
  • Commented out tests for sector_performance since the method doesn't exist anymore.

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

Successfully merging this pull request may close these issues.

1 participant