stravalib.client.ActivityUploader.update_from_response#
- ActivityUploader.update_from_response(response: dict[str, Any], raise_exc: bool = True) None [source]#
Updates internal state of object.
- Parameters:
response (
dict
) – The response object (dict).raise_exc (bool)
- Raises:
stravalib.exc.ActivityUploadFailed – If the response indicates an error and raise_exc is True. Whether to raise an exception if the response indicates an error state. (default True)