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
Describe the bug
Generator produces black error and invalid model.
To Reproduce
Steps to reproduce the behavior:
Generate lib from example OpenAPI
See error traceback
File "/Users/Matvey/Documents/GitHub/openapi-python-client/openapi_python_client/__init__.py", line 113, in build
self._reformat()
File "/Users/Matvey/Documents/GitHub/openapi-python-client/openapi_python_client/__init__.py", line 146, in _reformat
subprocess.run(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'black .' returned non-zero exit status 123.
Describe the bug
Generator produces
black
error and invalid model.To Reproduce
Steps to reproduce the behavior:
import
statement.Expected behavior
The identifier
import_
should be used.OpenAPI Spec File
Desktop (please complete the following information):
Additional context
It worked correctly on
0.10.1
. And in my branchfix / overriding-parameters
works well too.The text was updated successfully, but these errors were encountered: