Skip to content

Commit 327b222

Browse files
RAY-316msyyc
andauthored
relay_track2_config (#15745)
* relay_track2_config * Update readme.python.md Co-authored-by: msyyc <[email protected]>
1 parent 69053fb commit 327b222

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

specification/relay/resource-manager/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ This is not used by Autorest itself.
8383
``` yaml $(swagger-to-sdk)
8484
swagger-to-sdk:
8585
- repo: azure-sdk-for-net
86-
- repo: azure-sdk-for-python
86+
- repo: azure-sdk-for-python-track2
8787
- repo: azure-sdk-for-java
8888
- repo: azure-sdk-for-go
8989
- repo: azure-sdk-for-js

specification/relay/resource-manager/readme.python.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,7 @@ These settings apply only when `--python` is specified on the command line.
44
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

7-
``` yaml $(python) && !$(track2)
8-
python-mode: create
9-
python:
10-
azure-arm: true
11-
license-header: MICROSOFT_MIT_NO_VERSION
12-
payload-flattening-threshold: 2
13-
namespace: azure.mgmt.relay
14-
package-name: azure-mgmt-relay
15-
package-version: 0.2.0
16-
clear-output-folder: true
17-
```
18-
197
``` yaml $(python) && $(track2)
20-
python-mode: create
218
azure-arm: true
229
license-header: MICROSOFT_MIT_NO_VERSION
2310
namespace: azure.mgmt.relay
@@ -26,17 +13,11 @@ package-version: 1.0.0b1
2613
clear-output-folder: true
2714
```
2815
29-
``` yaml $(python) && $(python-mode) == 'update'
16+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
3017
no-namespace-folders: true
3118
output-folder: $(python-sdks-folder)/relay/azure-mgmt-relay/azure/mgmt/relay
32-
python:
33-
no-namespace-folders: true
34-
output-folder: $(python-sdks-folder)/relay/azure-mgmt-relay/azure/mgmt/relay
3519
```
36-
``` yaml $(python) && $(python-mode) == 'create'
20+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
3721
basic-setup-py: true
3822
output-folder: $(python-sdks-folder)/relay/azure-mgmt-relay
39-
python:
40-
basic-setup-py: true
41-
output-folder: $(python-sdks-folder)/relay/azure-mgmt-relay
4223
```

0 commit comments

Comments
 (0)