Skip to content

[Python] Python track2 autorest tools generate surplus files #864

@msyyc

Description

@msyyc

Describe the bug

Please provide as much information as you can. This would be: 
- OpenAPI files having the issues
- Autorest command used

ENV: Linux
Python:3.6.9
Command:/usr/local/bin/autorest //azure-rest-api-specs/specification/digitaltwins/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=//azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected] --version=3.0.6272

(azure-rest-api-specs repo: https://github.com/Azure/azure-rest-api-specs.git)
(azure-sdk-for-python repo : https://github.com/Azure/azure-sdk-for-python.git)

Expected behavior
The necessary Python code file is generated

ERROR
image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions