code: def unmarshal(self, v):
          
          try:
              return self.choices[v]
          except KeyError:
              self.log.warning("No such choice {0} for field {1}.".format(v, self))
              # Just return the value from the API
              return v
docs: Convert the value from Strava API format to useful python representation.
  
          If the value does not appear in the choices attribute we log an error rather
          than raising an exception as this may be caused by a change to the API upstream
          so we want to fail gracefully.