Skip to content

Commit 8d0a1bc

Browse files
authored
Update readme.python.md (#16451)
* Update readme.python.md * config readme
1 parent 1eb4d38 commit 8d0a1bc

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

specification/dataprotection/resource-manager/readme.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ This is not used by Autorest itself.
102102
``` yaml $(swagger-to-sdk)
103103
swagger-to-sdk:
104104
- repo: azure-sdk-for-net
105-
- repo: azure-sdk-for-python
105+
- repo: azure-sdk-for-python-track2
106106
- repo: azure-sdk-for-java
107107
- repo: azure-sdk-for-go
108108
- repo: azure-sdk-for-js
@@ -128,6 +128,10 @@ csharp:
128128
clear-output-folder: true
129129
```
130130

131+
## Python
132+
133+
See configuration in [readme.python.md](./readme.python.md)
134+
131135
## Go
132136

133137
See configuration in [readme.go.md](./readme.go.md)

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

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,20 @@ 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)
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.dataprotection
14-
package-name: azure-mgmt-dataprotection
15-
package-version: 1.0.0b1
16-
clear-output-folder: true
7+
``` yaml $(python) && $(track2)
8+
azure-arm: true
9+
license-header: MICROSOFT_MIT_NO_VERSION
10+
namespace: azure.mgmt.dataprotection
11+
package-name: azure-mgmt-dataprotection
12+
package-version: 1.0.0b1
13+
clear-output-folder: true
1714
```
18-
``` yaml $(python) && $(python-mode) == 'update'
19-
python:
20-
no-namespace-folders: true
21-
output-folder: $(python-sdks-folder)/dataprotection/azure-mgmt-dataprotection/azure/mgmt/dataprotection
15+
16+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
17+
no-namespace-folders: true
18+
output-folder: $(python-sdks-folder)/dataprotection/azure-mgmt-dataprotection/azure/mgmt/dataprotection
2219
```
23-
``` yaml $(python) && $(python-mode) == 'create'
24-
python:
25-
basic-setup-py: true
26-
output-folder: $(python-sdks-folder)/dataprotection/azure-mgmt-dataprotection
20+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
21+
basic-setup-py: true
22+
output-folder: $(python-sdks-folder)/dataprotection/azure-mgmt-dataprotection
2723
```

0 commit comments

Comments
 (0)