Skip to content

Conversation

@OscarRunsCode
Copy link

Added code to deal with cases where searches fail due to out of bounds timestamps.

To recreate this issue, one can run

from fredapi import Fred
fred = Fred(api_key='your_api_key')
fs = fred.search('Consumer Price Index', order_by='popularity', limit=5, sort_order='desc').reset_index()

Added code to deal with cases where searches fail due to out of bounds timestamps. 

To recreate this issue, one can run

```
from fredapi import Fred
fred = Fred(api_key='your_api_key')
fs = fred.search('Consumer Price Index', order_by='popularity', limit=5, sort_order='desc').reset_index()
```
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