Azure / autorest.azure-functions

Code Generation for Azure Functions
MIT License
48 stars 7 forks source link

TypeError: extension.updatePythonPath is not a function #17

Open fslefevre78 opened 1 year ago

fslefevre78 commented 1 year ago

Troubleshooting:

Setup (please complete the following information): **

Showing All Installed Extensions

Type Extension Name Version Location extension @autorest/azure-functions-csharp 0.2.0-preview-dev.321054549 C:\Users\flefe.autorest\@autorest_azure-functions-csharp@0.2.0-preview-dev.321054549 extension @autorest/azure-functions-python 0.1.0-preview C:\Users\flefe.autorest\@autorest_azure-functions-python@0.1.0-preview extension @autorest/azure-functions-typescript 0.0.1-preview C:\Users\flefe.autorest\@autorest_azure-functions-typescript@0.0.1-preview core @autorest/core 3.0.6320 C:\Users\flefe.autorest\@autorest_core@3.0.6320 core @autorest/core 3.9.6 C:\Users\flefe.autorest\@autorest_core@3.9.6 extension @autorest/modelerfour 4.15.396 C:\Users\flefe.autorest\@autorest_modelerfour@4.15.396 extension @autorest/modelerfour 4.15.414 C:\Users\flefe.autorest\@autorest_modelerfour@4.15.414

Describe the bug

Unable to generate Azure Functions from Open API Specification using autorest with --azure-functions-python while --azure-functions-csharp works fine.

To Reproduce

autorest --azure-functions-python --input-file:petstore.json --output-folder:./generated-azfunctions --no-namespace-folders:true --version:3.0.6320 --verbose

Sample File attached petstore.zip

Stacktrace

[trace.log.log](https://github.com/Azure/autorest.azure-functions/files/11990295/trace.log.log) Click to expand the full stacktrace

Additional context Add any other context about the problem here.

ogiel commented 7 months ago

Any updates on this bug? Facing it as well and noticed there is no Azure Functions Python V2 support for OpenAPI specs yet.