- Adjust field name for object.
- Fix: avoid keywords in variables.
- Fix: correct model name when first letter is capitalized && and some keywords
- Feat: support importing additional package
- Fix: array assign and access with variables name
- Fix: avoid keywords in model and variables.
- Support import local package.
- Support infinite loop reference in model.
- Support complex list(
array-in-array
).
- Fix import package for typedef.
- Support Typedef.
- Improve TeaModel to avoid serialization exception.
- Python2 version upgraded to compatible version.
- Improve annotations.
- Resolve multi condition
- Fix wrong function return value.
- Fix the error code generated by map operation when property_access is the key.
- Support for static type hints to the class itself.
- Fix the emit order for sub model code.
- Support generate python2 code.
- Fix
variable is not defind
error.
- Added support for python3.9.
- Drop support for python3.4 & python3.5 (Currently supported python versions:3.6,3.7,3.8,3.9).
- Support for async function.
- Replace the string formatting syntax with f-string.
- Support for type annotation.
- Support for defining multi-line string.
- Support executable option.
- Fix aliases that don`t conform to python syntax.
- Fix the bug that
None
call theto_map()
. - Fix can't get variable value from dict & list.
- Fix to_map&from_map using uninitialized parameters.
- Fix long description content type error in setup.py.
- support validate maximum and minimum values.
- Fix the exception when tmplate string has no placeholder.
- Improve the default value of clientName&package.
- Added warning about irregular configuration.
- Verify naming conventions.
- Added syntax check.
- End with operator when line feed.
- Support type hints.
- Support local installation of python package.
- Improve annotation.
- Specify model type.
- Add
returnType
.
- Improve model:
- Support all complex types.
- Fix non-model object call validate.
- Add
async
,await
keywords. - Fix the error when expected to be an array type.
- Fix model.py not import third-party packages.
- Fix import unused modules.
- Support specify the latest version of dependency.
- Fix the syntax of calling static methods.
- Support array access.
- Support description.
- Support [[ string ]] array.
- Imporve model format.
- Imporve models
- Imporve function comments
- Fixed unsupported symbols
- Fixed validate_pattern syntax error
- Improve python generator to be compatible with darafile
- First release
Initialization release of the
Darabonba Code Generator for Python
Version 1.0.0 on NPM. See https://www.npmjs.com/package/@darabonba/python-generator for more information.