pyrh.load_session
- pyrh.load_session(path=None)
Load cached session parameters from a json file.
Note
This function defaults to caching this information to ~/.robinhood/login.json
- Parameters:
path (
Union
[Path
,str
,None
]) – The location and file name to load from.- Return type:
- Returns:
A configured instance of SessionManager.
- Raises:
InvalidCacheFile – If the cache file cannot be decoded or does not exist