Skip to content

Commit ecf31fd

Browse files
authored
[mysql]Update readme.python.md (#15225)
* Update readme.python.md * Update readme.md
1 parent 80545d8 commit ecf31fd

File tree

2 files changed

+7
-37
lines changed

2 files changed

+7
-37
lines changed

specification/mysql/resource-manager/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ This is not used by Autorest itself.
154154
``` yaml $(swagger-to-sdk)
155155
swagger-to-sdk:
156156
- repo: azure-sdk-for-net
157-
- repo: azure-sdk-for-python
157+
- repo: azure-sdk-for-python-track2
158158
- repo: azure-sdk-for-java
159159
- repo: azure-sdk-for-go
160160
- repo: azure-sdk-for-js

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

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +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 !$(track2)
8-
python:
9-
azure-arm: true
10-
license-header: MICROSOFT_MIT_NO_VERSION
11-
payload-flattening-threshold: 2
12-
package-name: azure-mgmt-rdbms
13-
clear-output-folder: true
14-
no-namespace-folders: true
15-
```
7+
168

179
These settings apply only when `--track2` is specified on the command line.
1810

@@ -21,26 +13,18 @@ azure-arm: true
2113
license-header: MICROSOFT_MIT_NO_VERSION
2214
package-name: azure-mgmt-rdbms
2315
no-namespace-folders: true
24-
modelerfour:
25-
lenient-model-deduplication: true
16+
package-version: 1.0.0b1
2617
```
2718
2819
### Python multi-api
2920
3021
Generate all API versions currently shipped for this package
3122
32-
```yaml !$(track2)
33-
batch:
34-
- tag: package-2020-01-01
35-
- tag: package-2020-07-01-preview
36-
```
37-
3823
```yaml $(track2)
3924
clear-output-folder: true
4025
batch:
4126
- tag: package-flexibleserver-2021-05-01-preview
4227
- tag: package-2020-01-01
43-
- tag: package-2020-07-01-preview
4428
```
4529
4630
### Tag: package-flexibleserver-2021-05-01-preview and python
@@ -51,9 +35,6 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
5135
``` yaml $(tag) == 'package-flexibleserver-2021-05-01-preview' && $(python)
5236
namespace: azure.mgmt.rdbms.mysql_flexibleservers
5337
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers
54-
python:
55-
namespace: azure.mgmt.rdbms.mysql_flexibleservers
56-
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers
5738
```
5839

5940
### Tag: package-2020-01-01 and python
@@ -64,20 +45,9 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
6445
``` yaml $(tag) == 'package-2020-01-01' && $(python)
6546
namespace: azure.mgmt.rdbms.mysql
6647
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql
67-
python:
68-
namespace: azure.mgmt.rdbms.mysql
69-
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql
7048
```
7149

72-
### Tag: package-2020-07-01-preview and python
73-
74-
These settings apply only when `--tag=package-2020-07-01-preview --python` is specified on the command line.
75-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
76-
77-
``` yaml $(tag) == 'package-2020-07-01-preview' && $(python)
78-
namespace: azure.mgmt.rdbms.mysql_flexibleservers
79-
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers
80-
python:
81-
namespace: azure.mgmt.rdbms.mysql_flexibleservers
82-
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers
83-
```
50+
``` yaml $(track2)
51+
modelerfour:
52+
lenient-model-deduplication: true
53+
```

0 commit comments

Comments
 (0)