Skip to content

Commit 08688f3

Browse files
00Kai0msyyc
andauthored
Upgrade to python track2 sdk for purview (#12634)
* upgrade to python track2 sdk for purview * Update readme.md * Update readme.md * fix Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
1 parent 9599cc1 commit 08688f3

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

specification/purview/resource-manager/readme.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ This is not used by Autorest itself.
5050

5151
``` yaml $(swagger-to-sdk)
5252
swagger-to-sdk:
53-
- repo: azure-sdk-for-python
53+
- repo: azure-sdk-for-python-track2
5454
- repo: azure-sdk-for-go
5555
```
5656

@@ -71,30 +71,7 @@ csharp:
7171

7272
## Python
7373

74-
These settings apply only when `--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-
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
77-
78-
``` yaml $(python)
79-
python-mode: create
80-
python:
81-
azure-arm: true
82-
license-header: MICROSOFT_MIT_NO_VERSION
83-
payload-flattening-threshold: 2
84-
namespace: azure.mgmt.purview
85-
package-name: azure-mgmt-purview
86-
clear-output-folder: true
87-
```
88-
``` yaml $(python) && $(python-mode) == 'update'
89-
python:
90-
no-namespace-folders: true
91-
output-folder: $(python-sdks-folder)/purview/azure-mgmt-purview/azure/mgmt/purview
92-
```
93-
``` yaml $(python) && $(python-mode) == 'create'
94-
python:
95-
basic-setup-py: true
96-
output-folder: $(python-sdks-folder)/purview/azure-mgmt-purview
97-
```
74+
See configuration in [readme.python.md](./readme.python.md)
9875

9976
## Go
10077

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Python
2+
3+
These settings apply only when `--python` is specified on the command line.
4+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
5+
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
6+
7+
``` yaml $(python) && $(track2)
8+
python-mode: create
9+
azure-arm: true
10+
license-header: MICROSOFT_MIT_NO_VERSION
11+
namespace: azure.mgmt.purview
12+
package-name: azure-mgmt-purview
13+
package-version: 1.0.0b1
14+
clear-output-folder: true
15+
```
16+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
17+
no-namespace-folders: true
18+
output-folder: $(python-sdks-folder)/purview/azure-mgmt-purview/azure/mgmt/purview
19+
```
20+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
21+
basic-setup-py: true
22+
output-folder: $(python-sdks-folder)/purview/azure-mgmt-purview
23+
```

0 commit comments

Comments
 (0)