Skip to content

Commit a213469

Browse files
authored
[T2] datalakestore for python track2 (#11722)
* python track2 * python.md
1 parent 88fa0d1 commit a213469

File tree

2 files changed

+42
-25
lines changed

2 files changed

+42
-25
lines changed

specification/datalake-store/resource-manager/readme.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ This is not used by Autorest itself.
7777
swagger-to-sdk:
7878
- repo: azure-sdk-for-net
7979
- repo: azure-sdk-for-python
80+
- repo: azure-sdk-for-python-track2
8081
- repo: azure-sdk-for-java
8182
- repo: azure-sdk-for-go
8283
- repo: azure-sdk-for-node
@@ -105,31 +106,7 @@ csharp:
105106

106107
## Python
107108

108-
These settings apply only when `--python` is specified on the command line.
109-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
110-
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
111-
112-
``` yaml $(python)
113-
python-mode: create
114-
python:
115-
azure-arm: true
116-
license-header: MICROSOFT_MIT_NO_VERSION
117-
payload-flattening-threshold: 2
118-
namespace: azure.mgmt.datalake.store
119-
package-name: azure-mgmt-datalake-store
120-
clear-output-folder: true
121-
```
122-
``` yaml $(python) && $(python-mode) == 'update'
123-
python:
124-
no-namespace-folders: true
125-
output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-store/azure/mgmt/datalake/store
126-
```
127-
``` yaml $(python) && $(python-mode) == 'create'
128-
python:
129-
basic-setup-py: true
130-
output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-store
131-
```
132-
109+
See configuration in [readme.python.md](./readme.python.md)
133110
## Go
134111

135112
See configuration in [readme.go.md](./readme.go.md)
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
python:
10+
azure-arm: true
11+
license-header: MICROSOFT_MIT_NO_VERSION
12+
payload-flattening-threshold: 2
13+
namespace: azure.mgmt.datalake.store
14+
package-name: azure-mgmt-datalake-store
15+
clear-output-folder: true
16+
```
17+
``` yaml $(python) && $(track2)
18+
python-mode: create
19+
azure-arm: true
20+
license-header: MICROSOFT_MIT_NO_VERSION
21+
payload-flattening-threshold: 2
22+
namespace: azure.mgmt.datalake.store
23+
package-name: azure-mgmt-datalake-store
24+
package-version: 1.0.0b1
25+
clear-output-folder: true
26+
```
27+
``` yaml $(python) && $(python-mode) == 'update'
28+
python:
29+
no-namespace-folders: true
30+
output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-store/azure/mgmt/datalake/store
31+
no-namespace-folders: true
32+
output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-store/azure/mgmt/datalake/store
33+
```
34+
``` yaml $(python) && $(python-mode) == 'create'
35+
python:
36+
basic-setup-py: true
37+
output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-store
38+
basic-setup-py: true
39+
output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-store
40+
```

0 commit comments

Comments
 (0)