Support unicode string in python client.

This commit is contained in:
geekerzp 2015-04-07 15:33:05 +08:00
parent c04f947a85
commit 24d5dc093f
3 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8
""" """
{{classname}}.py {{classname}}.py
Copyright 2015 Reverb Technologies, Inc. Copyright 2015 Reverb Technologies, Inc.

View File

@ -1,4 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8
""" """
Copyright 2015 Reverb Technologies, Inc. Copyright 2015 Reverb Technologies, Inc.
@ -39,7 +41,7 @@ class {{classname}}(object):
{{#vars}} {{#vars}}
'{{name}}': '{{baseName}}'{{#hasMore}},{{/hasMore}} '{{name}}': '{{baseName}}'{{#hasMore}},{{/hasMore}}
{{/vars}} {{/vars}}
} }
{{#vars}} {{#vars}}
{{#description}}#{{description}} {{#description}}#{{description}}

View File

@ -1,4 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
# coding: utf-8
"""Swagger generic API client. This client handles the client- """Swagger generic API client. This client handles the client-
server communication, and is invariant across implementations. Specifics of server communication, and is invariant across implementations. Specifics of
the methods and models for each application are generated from the Swagger the methods and models for each application are generated from the Swagger