Support file downloading in Python codegen.

This commit is contained in:
geekerzp
2015-06-29 17:08:03 +08:00
parent 80303b524d
commit 6df6c079ee
8 changed files with 100 additions and 25 deletions

View File

@@ -48,6 +48,7 @@ public class PythonClientCodegen extends DefaultCodegen implements CodegenConfig
typeMapping.put("date", "date");
typeMapping.put("DateTime", "datetime");
typeMapping.put("object", "object");
typeMapping.put("file", "file");
// from https://docs.python.org/release/2.5.4/ref/keywords.html
reservedWords = new HashSet<String>(