issues
search
robinhood-unofficial
/
pyrh
Python Framework to make trades with the unofficial Robinhood API
https://pyrh.readthedocs.io/en/latest/
MIT License
1.78k
stars
603
forks
source link
Api models
#223
Closed
adithyabsk
closed
4 years ago
adithyabsk
commented
4 years ago
Checklist
[x] Added
tests
for changed code.
[x] Updated
documentation
for changed code.
[x] I've added a news fragment of my changes with the name, "{ISSUE_NUM}.{feature|bugfix|doc|removal|misc}""
Related Issue
No related issues.
Description by File
Note: these are only the important files
.github/workflows/main.yml
Updated the listing process to install all dependencies so that static type checking can occur using mpy
Fix cache paths in restore-key
.pre-commit-config.yaml
Bump pre-commit config python version
Let mypy use locally installed version
Add darglint to pre-commit
pyproject.toml
Add darglint for function signature and docstring agreement checking
Add freezegun to allow for freezing of time when unit testing
Make sure extras points at toolkit and not toml
init
.py
Patch bug that depended on pyproject.toml being shipped in the wheels for versioning to work
endpoints
Use yarl for easy URL management
exceptions
refactor to make more pythonic and drop unused
models folder
refactor sessionmanager so that it now sits in the models folder
Add a BaseModel: all models inherit from this and hence SimpleNamepsace
Add BaseSchema: all schemas inherit from this and are hooked to a particular model
Add OAuth and Challenge models and schemas to be used in SessionManager
SessionManager
Refactor to use new models
add dump and load functions to allow convenient storing of credentials
test_*.py
Add relevant tests
Checklist
Related Issue
No related issues.
Description by File
Note: these are only the important files