twilio/twilio-python — pull request #82 by skyl (2012-09-03 23:47:14+00:00)
Title: Refactor resources into multiple files

Hi,

I totally understand if you don't want to refactor in this way. But, scrolling through the big file to look at the base classes and the child classes in resources.py was somewhat suboptimal. So, in looking over the api, I refactored it as an exercise. Should be backwards compatible and the tests pass.

Note, that there are some changes that might want to be separated out if you don't want to merge all of this in: a couple of redefinitions in the tests make them not discovered (and one has a would-be NameError - https://github.com/twilio/twilio-python/issues/81 ), some unused imports, some pep8 whitespace stuff.

-- Skylar