Hy, I am working with the Python library StravaIO from here
I am trying to get all the segments inside an activity. And for that, I am using the get_activity_by_id function. For that function to return the effort list, I needed to include the 'include_all_efforts' parameters. Here is my code:
params = {'include_all_efforts':True}
activity = client.get_activity_by_id(some_id ,**params)
I am getting the ERROR:
TypeError: get_activity_by_id() got an unexpected keyword argument 'include_all_efforts'
The strange thing is that I checked the source code and in line 225 there is the same ERROR but with different text. This means the code is not getting here, I suppose.
Am I doing something wrong?