Conditions | 1 |
Total Lines | 6 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import json |
||
13 | api_v1_blueprint.register_error_handler(Exception, errorhandlers.broad_exception_error_handler) |
||
14 | api_v1_blueprint.after_request(request_callback_decorators.after_request) |
||
15 | |||
16 | |||
17 | class BaseResource(Resource): |
||
18 | def __init__(self): |
||
19 | self.now = time.strftime('%Y-%m-%d %H:%M:%S') |
||
29 |