jmcarp / betfair.py

A Python wrapper for the Betfair API
MIT License
103 stars 76 forks source link

follow up on issue #24, code breaks on rogue fields #41

Closed ms5 closed 9 years ago

ms5 commented 9 years ago

I come back to issue #24 , since with the move to schematics the problem is again here. For example I get the following exception on rogue fields and that breaks the data of that market, so my bot is useless again...

schematics.exceptions.ModelConversionError: {'description': {'each_way_divisor': 'Rogue field'}}

In general I think, there is no need to raise an exception on rogue fields, because the model/bot will continue to work, even if betfair decides to add new data. this new fields can latter be added to the betfair.py model.

jmcarp commented 9 years ago

Thanks for the fix!