{"push_id":2612148846,"size":1,"distinct_size":1,"ref":"refs/heads/dev","head":"5acc8538d0d5d80d0a05a347219062a31c78e39f","before":"903c3cd5a5628617d44d099f01ec2e9a3554b9b6","commits":[{"sha":"5acc8538d0d5d80d0a05a347219062a31c78e39f","author":{"name":"José María Domínguez Moreno","email":"595dd9893a87efa649d77e9ab67e50d030abef4a@gmail.com"},"message":"Add export_data method to Model class\n\nThis method uses under the hood **export_from_sqla_object** in order\nto return a JSON serializable object.\n\nIt also takes the optional the parameters **include** and **exclude**\nand pass it to export_from_sqla_object. This is handly if a subclass\nwants to include or exclude a default set of properties by overriding\n**export_data**.\n\nEXAMPLE:\n\n    class User(Model):\n        def export_data(self, include=[], exclude=['id', 'password']):\n            super(User, self).export_data(include, exclude)\n\nThe code above, will exclude by default the properties id and password\nwhen an instance of the class User calls export_data.","distinct":true,"url":"https://api.github.com/repos/mbarakaja/saraki/commits/5acc8538d0d5d80d0a05a347219062a31c78e39f"}]}
{"actor":{"display_login":"mbarakaja"}}