bundesAPI / bundesAPI/smard-api
ApiTypeError when some None values are returned.
Open
- Dominant language
- Python
- Stars
- 94
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
When querying some timestamps, it might happen, that the service returns some None values. The python client cannot handle them and returns the error
```
deutschland.smard.exceptions.ApiTypeError: Invalid type for variable '1'. Required value type is float and passed type was NoneType at ['received_data']['series'][87][1]
```
Can the model be updated to allow None values? I would rather have some None values in the response than an exception in this particular case.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.