Python Framework to make trades with the unofficial Robinhood API
1.78k
stars
603
forks
source link
If a username (not email) is used for login and you attempt to load that session with 'pyrh.load_session()' ValidationError occurs #262
Closed
clay-moss closed 4 years ago
Checklist
Description
If a username (not email) is used for login and you attempt to load that session with 'pyrh.load_session()' a ValidationError occurs
'marshmallow.fields' validation fails here: https://github.com/robinhood-unofficial/pyrh/blob/0113d31554fd707162743f3f1e8792efa1cc64ab/pyrh/models/sessionmanager.py#L522
Steps/Code to Reproduce
Example session JSON where issue would occur:
Results
Versions
Windows-10-10.0.18362-SP0 Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32 bit (Intel)] pyrh 2.0