Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public PythonClientCodegen() {
languageSpecificPrimitives.add("datetime");
languageSpecificPrimitives.add("date");
languageSpecificPrimitives.add("object");
languageSpecificPrimitives.add("binary_type");

typeMapping.clear();
typeMapping.put("integer", "int");
Expand All @@ -96,8 +97,8 @@ public PythonClientCodegen() {
typeMapping.put("file", "file");
// TODO binary should be mapped to byte array
// mapped to String as a workaround
typeMapping.put("binary", "str");
typeMapping.put("ByteArray", "str");
typeMapping.put("binary", "binary_type");
typeMapping.put("ByteArray", "binary_type");
// map uuid to string for the time being
typeMapping.put("UUID", "str");

Expand Down