CodeBlock/fedorahosted — pull request #1 by ralphbean (2012-05-17 19:14:28+00:00)
Title: Added a __json__ method to HostedRequest.

- It has the advantage of using sqlalchemy.orm.class_mapper instead of
__table__. The __*__ attributes of sqlalchemy tend to change over time.
It is more reliable to use the exposed API functions like class_mapper.