This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from sentry import report_error | |
| @report_error | |
| def main(): | |
| raise ValueError('test') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import collections | |
| import yaml | |
| from rest_framework import fields | |
| """ | |
| Convert rest_framework.fields classes to Swagger data types according to http://swagger.io/specification/ | |
| Return 'string' by default. |