This can be moved up to the `try` block as:

```python
data['solvebio']['clinvar'] = list(clinvar.query(filters=filters))
```

No need for the `else`. As a side note, does the SolveBio API use a custom base exception class to differentiate it's thrown exceptions?