Python binding: get a list of the items in a iOS pickerView

Hi All,
I hope someone may be able to help. I am trying to get all the items in a iOS picker view.
I have been trying via the the get_attribute(‘values’) method via the appium python binding.

appium returns the following error:

if name != ‘value’ and attributeValue.lower() in (‘true’, ‘false’):
AttributeError: ‘list’ object has no attribute ‘lower’

I noticed someone else raised an issue: which is in a ‘won’t fix’ state for selenium.

I made the changes to the get_attribute method mentioned in the issue which fixes the issue, but I don’t ideally want to keep compiling the selenium python source code. Has anyone encompassed this and have a better solution???