FAQ - C-Accel-Project-Old-Version/old-sdk GitHub Wiki
Frequently Asked Questions
Q: This field, such as condition uncertainty value, is type hinted to accept Number, str, and None value: Optional[Union[Number, str]], why are you accepting str and not just Union[Number, None]
A: When the API returns data often it takes an int and returns a str, we made the SDK so that it works well with the API regardless of what it takes. This also applies for places that the data model suggest should be a single attribute, but the API wants a list of attributes