GET /api/v2/video/350
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, PATCH, HEAD, OPTIONS
{ "category": "PyCon US 2010", "language": "English", "slug": "pycon-2010--decorators-from-basics-to-class-decor", "speakers": [ "Charles Merriam" ], "tags": [ "decorators", "pycon", "pycon2010" ], "id": 350, "state": 1, "title": "Decorators From Basics to Class Decorators to Decorator Libraries (#138)", "summary": "", "description": "Decorators from Basics to Class Decorators to Decorator Libraries\n\n \nPresented by Charles Merriam\n\n \nDecorators simplify design and improve readability and reliability. This\ntutorial starts from the beginning with basic decorators, showing how simple\ntasks like restricting administration functions are clearer and more readable\nwith decorators, and exactly how the decorators work. A simple library of\ndecorators for tracing, logging, and caching results is presented. This leads\ninto writing your own decorators and parameterized decorators either from\nscratch or by using libraries like Simionato's Decorator Decorator and\n\"@call_before(fn)\". Finally, using Python 3.x class decorators in place of\nmetaclasses for most common dictionary modifications is covered.\n\n \n[VIDEO HAS ISSUES: Missing about 1 minute at start, because of technical\nproblems.]\n\n", "quality_notes": "", "copyright_text": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0", "embed": "", "thumbnail_url": "http://a.images.blip.tv/Pycon-PyCon2010DecoratorsFromBasicsToClassDecoratorsToDecorato979.png", "duration": null, "video_ogv_length": 152048091, "video_ogv_url": "http://05d2db1380b6504cc981-8cbed8cf7e3a131cd8f1c3e383d10041.r93.cf2.rackcdn.com/pycon-us-2010/350_decorators-from-basics-to-class-decorators-to-decorator-libraries-138.ogv", "video_ogv_download_only": false, "video_mp4_length": null, "video_mp4_url": "http://05d2db1380b6504cc981-8cbed8cf7e3a131cd8f1c3e383d10041.r93.cf2.rackcdn.com/pycon-us-2010/350_decorators-from-basics-to-class-decorators-to-decorator-libraries-138.m4v", "video_mp4_download_only": false, "video_webm_length": null, "video_webm_url": null, "video_webm_download_only": false, "video_flv_length": null, "video_flv_url": null, "video_flv_download_only": false, "source_url": "", "whiteboard": "", "recorded": "2010-02-19", "added": "2012-02-23T04:20:00", "updated": "2014-04-08T20:28:28.100" }