[Python] add float to reserved word list (#16689)

* add float as reserved world

* clean up

* update samples

* Update modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractPythonCodegen.java

Co-authored-by: Jonathan Ballet <jon@multani.info>

* update doc

* uncomment test

---------

Co-authored-by: Jonathan Ballet <jon@multani.info>
This commit is contained in:
William Cheng
2023-10-01 20:41:54 +08:00
committed by GitHub
parent 3fcf5584c6
commit ce4b2fe7bd
27 changed files with 94 additions and 759 deletions

View File

@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**int32** | **int** | | [optional]
**int64** | **int** | | [optional]
**number** | **float** | |
**float** | **float** | | [optional]
**double** | **float** | | [optional]
**decimal** | **decimal.Decimal** | | [optional]
**string** | **str** | | [optional]