Open bergmanngabor opened 4 years ago
mms-python-client
import mms-python-client
Import is successful
Syntax error, due to Python keyword async appearing as an identifier in the generated Python code.
async
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/mms_python_client/api/artifact_api.py", line 137 async=params.get('async'), ^ SyntaxError: invalid syntax
Used to work correctly with mms-python-client 3.4.2.1
https://github.com/OpenAPITools/openapi-generator/issues/7119
Thank you for the bug report. This seems to be related to async being a keyword now in python 3. We will fix this before the full 3.4.3 release.
Steps to reproduce
mms-python-client
3.4.3 from https://pypi.org/project/mms-python-client/3.4.3/import mms-python-client
Expected behaviour
Import is successful
Observed behaviour
Syntax error, due to Python keyword
async
appearing as an identifier in the generated Python code.Triage
Used to work correctly with
mms-python-client
3.4.2.1See also
https://github.com/OpenAPITools/openapi-generator/issues/7119