Skip to content

Commit 683e92a

Browse files
authored
Merge pull request #114 from guokr/fix_sanic_import_six
fix schemas six is not defined
2 parents 3882364 + b03c5a3 commit 683e92a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ json-spec
33
click
44
jinja2
55
dpath
6-
PyYAML
7-
flex
6+
PyYAML==3.12
7+
flex

swagger_py_codegen/templates/sanic/schemas.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# TODO: datetime support
44

55
{% include '_do_not_change.tpl' %}
6+
import six
67

78
base_path = '{{base_path}}'
89

0 commit comments

Comments
 (0)