Skip to content

Commit

Permalink
python track2 (Azure#11436)
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc authored and giromm2ms committed Dec 20, 2020
1 parent 788a3d2 commit 5957ecc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions specification/confluent/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
Expand Down
18 changes: 16 additions & 2 deletions specification/confluent/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,38 @@ These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python)
``` yaml $(python) && !$(track2)
python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.confluent
package-name: azure-mgmt-confluent
package-version: 2020-03-01-preview
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(track2)
python-mode: create
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.confluent
package-name: azure-mgmt-confluent
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt-confluent/azure/mgmt/confluent
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt-confluent/azure/mgmt/confluent
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-confluent
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-confluent
```

0 comments on commit 5957ecc

Please sign in to comment.