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

Update reddit connection client #4478

Merged
merged 16 commits into from
Mar 14, 2023

Conversation

piiq
Copy link
Contributor

@piiq piiq commented Mar 14, 2023

The main purpose of this PR is to change the psaw reddit client that's not maintained to the pmaw reddit client that the initial library maintainer points to as the currently maintained one.

While doing this I have:

  • deleted the code of the commands that were deprecated 2 months ago (watchlist, spac). These commands were unavailable in the help menu but still were accessible via direct command input. Now they're gone-gone
  • Revived popular, and a modified version of getdd. With pmaw these commands still take some time to run, but it is not as painfully as it was.
  • Deleted a legacy seaborn plot popping up in redditsent command
  • Added additional exception handling to prevent buggy behaviour
  • Updated tests and test data
  • Updates SDK trailmaps
  • Updated docstrings to comply with pydocstyle

@piiq piiq added bug Fix bug refactor Refactor code dependencies Work related to dependencies labels Mar 14, 2023
@reviewpad reviewpad bot added the feat M Medium T-Shirt size feature label Mar 14, 2023
Copy link

@reviewpad reviewpad bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependency tree has been changed. Please update requirements.txt and requirements-full.txt

reviewpad[bot]
reviewpad bot previously requested changes Mar 14, 2023
Copy link

@reviewpad reviewpad bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependency tree has been changed. Please update requirements.txt and requirements-full.txt

@jmaslek jmaslek enabled auto-merge March 14, 2023 17:43
@jmaslek jmaslek added this pull request to the merge queue Mar 14, 2023
Merged via the queue into OpenBB-finance:develop with commit a276dc4 Mar 14, 2023
jmaslek added a commit that referenced this pull request Apr 13, 2023
* Change deprecated psaw dependency to the maintained pmaw

* Fix docstring linting errors

* Remove deprecated watchlist command because it's taking too long to run

* Remove deprecated spac command because it's taking too long to run

* Update SDK and trailmap

* Fix legacy seaborn chart popping up when calling redditsent

* Clean up spacc code

* Refactor reddit ba commands to reflect the dependency change

* Change regex that searches for tickers

* Fix popular command error when no stock tickers found

* Update tests

* Update requirements.txt files

* Sync dependencies with upstream

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
@piiq piiq deleted the feature/update-reddit-client branch November 30, 2023 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug dependencies Work related to dependencies feat M Medium T-Shirt size feature refactor Refactor code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants