Use raise_for_status for validation of event dispatch method. Output of the method is not boolean anymore.
Implemented proper __bool__ method for RestApiResponse and ouput of __len__ is int.
Additional information
This change may be backwards incompatible change as the previous behavior returned boolean and just logged out the information -> We should probably go through the known usages and revalidate the change.
Description
Use
raise_for_status
for validation of event dispatch method. Output of the method is not boolean anymore.Implemented proper
__bool__
method forRestApiResponse
and ouput of__len__
isint
.Additional information
This change may be backwards incompatible change as the previous behavior returned boolean and just logged out the information -> We should probably go through the known usages and revalidate the change.