summaryrefslogtreecommitdiff
path: root/pygerrit/models.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't put copyright and license headers in Python module docstringsDavid Pursehouse2013-08-071-26/+24
| | | | | | | | | | | | | | If the copyright and license headers are in module docstrings, they appear in the generated API documentation pages and it looks crappy. Instead, put the headers in regular Python comments. Thus each file still has the required copyright and license notice, but it is not included everywhere in the generated documentation. The documentation still includes an automatically generated copyright notice at the bottom of each page. Change-Id: Ibc5f4ca221c0a6de26f04f3b4511d8991e28b663
* Fix relative importsDavid Pursehouse2013-08-061-1/+1
| | | | Change-Id: I6bc8d92ed1055959f1c24128b8beace814eaf998
* Add license informationDavid Pursehouse2012-09-201-1/+26
| | | | Change-Id: I25ce3fafe7a51d0221f66fe30b2fb7cc8115c4aa
* Add support for topic name in change attributeDavid Pursehouse2012-08-021-0/+1
| | | | | | | Change attributes can include a "topic" field. Add support for this in the Change model. Change-Id: I31f0c19f92505bf4976f6d0008a94e06d30a48bb
* Add helper methods for initialisation from json dataDavid Pursehouse2012-08-011-43/+45
| | | | | | | | Added helper methods to initialise model member variables. Now the models' constructors will not throw exception if a value is missing, but instead just initialise the variable to None. Change-Id: I7473ec9bb471f95ea0142067af4750c7e26a0339
* Tidy up docstrings to follow the PEP-257 docstring convention0.0.2David Pursehouse2012-07-311-18/+10
| | | | | | http://www.python.org/dev/peps/pep-0257/ Change-Id: I1469a94f01660ef00aac196a5ca8995b3803a4bd
* Refactor into submodulesDavid Pursehouse2012-07-311-0/+88
Data models, events, errors, and stream handler are split from the single module into submodules. Change-Id: I03537c5e268135966c6b6e77ecaca1cb579a5fde