Skip to content

Commit 1cd39a8

Browse files
authored
update readme.python.md (#18250)
* update readme.python.md * Update readme.python.md * Update readme.python.md * Update readme.python.md Co-authored-by: ZiWei Chen (WICRESOFT NORTH AMERICA LTD) <v-ziweichen@microsoft.com>
1 parent 9c373c7 commit 1cd39a8

File tree

5 files changed

+13
-35
lines changed

5 files changed

+13
-35
lines changed

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

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

8-
``` yaml $(track2)
8+
``` yaml $(python)
99
azure-arm: true
1010
license-header: MICROSOFT_MIT_NO_VERSION
1111
package-name: azure-mgmt-communication
12-
no-namespace-folders: true
12+
namespace: azure.mgmt.communication
1313
package-version: 1.0.0
1414
```
1515
16-
```yaml $(python) && $(python-mode) == 'update' && $(track2)
16+
```yaml $(python)
1717
no-namespace-folders: true
1818
output-folder: $(python-sdks-folder)/communication/azure-mgmt-communication/azure/mgmt/communication
1919
```
2020
21-
```yaml $(python) && $(python-mode) == 'create' && $(track2)
22-
basic-setup-py: true
23-
output-folder: $(python-sdks-folder)/communication/azure/mgmt/communication
24-
```

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Use `--python-mode=update` if you already have a setup.py and just want to updat
66

77

88
``` yaml $(python)
9-
python-mode: create
109
azure-arm: true
1110
license-header: MICROSOFT_MIT_NO_VERSION
1211
namespace: azure.mgmt.eventgrid
@@ -15,12 +14,8 @@ package-version: 2.2.0
1514
clear-output-folder: true
1615
```
1716
18-
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
17+
``` yaml $(python)
1918
no-namespace-folders: true
2019
output-folder: $(python-sdks-folder)/eventgrid/azure-mgmt-eventgrid/azure/mgmt/eventgrid
2120
```
2221
23-
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
24-
basic-setup-py: true
25-
output-folder: $(python-sdks-folder)/eventgrid/azure-mgmt-eventgrid
26-
```

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +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
7+
``` yaml $(python)
98
azure-arm: true
109
license-header: MICROSOFT_MIT_NO_VERSION
1110
namespace: azure.mgmt.marketplaceordering
@@ -14,15 +13,11 @@ clear-output-folder: true
1413
package-version: 1.0.0b1
1514
```
1615
17-
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
16+
``` yaml $(python)
1817
no-namespace-folders: true
1918
output-folder: $(python-sdks-folder)/marketplaceordering/azure-mgmt-marketplaceordering/azure/mgmt/marketplaceordering
2019
```
2120
22-
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
23-
basic-setup-py: true
24-
output-folder: $(python-sdks-folder)/marketplaceordering/azure-mgmt-marketplaceordering
25-
```
2621
2722
Workaround invalid date-time returned by the server.
2823
@@ -31,4 +26,4 @@ directive:
3126
- from: swagger-document
3227
where: $.definitions.AgreementProperties.properties.retrieveDatetime
3328
transform: delete $.format
34-
```
29+
```

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

77

8-
``` yaml $(python) && $(track2)
9-
python-mode: create
8+
``` yaml $(python)
109
azure-arm: true
1110
license-header: MICROSOFT_MIT_NO_VERSION
1211
namespace: azure.mgmt.privatedns
@@ -15,11 +14,8 @@ package-version: 1.0.0b1
1514
clear-output-folder: true
1615
```
1716
18-
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
17+
``` yaml $(python)
1918
no-namespace-folders: true
2019
output-folder: $(python-sdks-folder)/network/azure-mgmt-privatedns/azure/mgmt/privatedns
2120
```
22-
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
23-
basic-setup-py: true
24-
output-folder: $(python-sdks-folder)/network/azure-mgmt-privatedns
25-
```
21+

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,16 @@
33
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

6-
``` yaml $(track2)
6+
``` yaml $(python)
77
azure-arm: true
88
license-header: MICROSOFT_MIT_NO_VERSION
99
package-name: azure-mgmt-videoanalyzer
10-
no-namespace-folders: true
10+
namespace: azure.mgmt.videoanalyzer
1111
package-version: 1.0.0b1
1212
```
1313
14-
``` yaml $(python-mode) == 'update' && $(track2)
14+
``` yaml $(python)
1515
no-namespace-folders: true
1616
output-folder: $(python-sdks-folder)/videoanalyzer/azure-mgmt-videoanalyzer/azure/mgmt/videoanalyzer
1717
```
1818
19-
``` yaml $(python-mode) == 'create' && $(track2)
20-
basic-setup-py: true
21-
output-folder: $(python-sdks-folder)/videoanalyzer/azure-mgmt-videoanalyzer
22-
```

0 commit comments

Comments
 (0)