From e2eea606fdaddaae9a55f1fabda67ec9afc6573c Mon Sep 17 00:00:00 2001 From: Arun Date: Sun, 13 Oct 2019 15:34:02 +0530 Subject: [PATCH] [python] Add missing keywords python (#4134) * Add missing keywords python * Correct shell script names * Revert "Correct shell script names" This reverts commit 37f8fe5af14f00eb464d48f17b8db4d3935a6f9c. --- .../openapitools/codegen/languages/PythonClientCodegen.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java index 6c0c0c13454..16ec0bd3c03 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java @@ -127,7 +127,8 @@ public class PythonClientCodegen extends DefaultCodegen implements CodegenConfig "and", "del", "from", "not", "while", "as", "elif", "global", "or", "with", "assert", "else", "if", "pass", "yield", "break", "except", "import", "print", "class", "exec", "in", "raise", "continue", "finally", "is", - "return", "def", "for", "lambda", "try", "self", "nonlocal", "None", "True", "False")); + "return", "def", "for", "lambda", "try", "self", "nonlocal", "None", "True", + "False", "async", "await")); regexModifiers = new HashMap(); regexModifiers.put('i', "IGNORECASE");