Skip to content

Commit fc8c206

Browse files
committed
delete do not used
1 parent 1d2281f commit fc8c206

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

swagger_py_codegen/templates/tornado/blueprint.tpl

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,4 @@ class UserInfo(object):
2727
if self.valid and self.user_id:
2828
# TODO: test
2929
self._account = None
30-
return self._account
31-
32-
33-
def before_request(obj):
34-
pass
35-
36-
37-
def after_request(obj):
38-
pass
30+
return self._account

swagger_py_codegen/templates/tornado/validators.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import six
1111
from functools import wraps
1212
from jsonschema import Draft4Validator
1313

14-
from . import before_request, after_request
1514
from .schemas import validators, scopes, normalize, filters
1615

1716

0 commit comments

Comments
 (0)