Skip to content

Commit

Permalink
relay_track2_config (#15745)
Browse files Browse the repository at this point in the history
* relay_track2_config

* Update readme.python.md

Co-authored-by: msyyc <[email protected]>
  • Loading branch information
RAY-316 and msyyc authored Aug 24, 2021
1 parent 69053fb commit 327b222
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
2 changes: 1 addition & 1 deletion specification/relay/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
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
23 changes: 2 additions & 21 deletions specification/relay/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,7 @@ 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) && !$(track2)
python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.relay
package-name: azure-mgmt-relay
package-version: 0.2.0
clear-output-folder: true
```
``` yaml $(python) && $(track2)
python-mode: create
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.relay
Expand All @@ -26,17 +13,11 @@ package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/relay/azure-mgmt-relay/azure/mgmt/relay
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/relay/azure-mgmt-relay/azure/mgmt/relay
```
``` yaml $(python) && $(python-mode) == 'create'
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/relay/azure-mgmt-relay
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/relay/azure-mgmt-relay
```

0 comments on commit 327b222

Please sign in to comment.