You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When invoking a Python API to create a composed model, the following error is raised:
UnboundLocalError: local variable 'obj_dict' referenced before assignment
I think this is because at this line, we are missing a condition for ModelComposed:
modules/openapi-generator/src/main/resources/python/python-experimental/api_client.mustache:249
openapi-generator version
master March 6th 2020
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered:
Bug Report Checklist
Description
When invoking a Python API to create a composed model, the following error is raised:
I think this is because at this line, we are missing a condition for ModelComposed:
modules/openapi-generator/src/main/resources/python/python-experimental/api_client.mustache:249
openapi-generator version
master March 6th 2020
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered: