Skip to content

Commit 6181e25

Browse files
msyycFredericHeem
authored andcommitted
[Dataanylatics] track2 python config (Azure#17833)
* python config * Update readme.python.md * Update readme.python.md
1 parent fde5356 commit 6181e25

File tree

2 files changed

+25
-15
lines changed

2 files changed

+25
-15
lines changed

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

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ This is not used by Autorest itself.
8383
``` yaml $(swagger-to-sdk)
8484
swagger-to-sdk:
8585
- repo: azure-sdk-for-net
86-
- repo: azure-sdk-for-python
86+
- repo: azure-sdk-for-python-track2
8787
- repo: azure-sdk-for-java
8888
- repo: azure-sdk-for-go
8989
- repo: azure-sdk-for-go-track2
@@ -110,20 +110,7 @@ csharp:
110110

111111
## Python
112112

113-
These settings apply only when `--python` is specified on the command line.
114-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
115-
116-
``` yaml $(python)
117-
python:
118-
azure-arm: true
119-
license-header: MICROSOFT_MIT_NO_VERSION
120-
payload-flattening-threshold: 2
121-
package-name: azure-mgmt-datalake-analytics
122-
clear-output-folder: true
123-
no-namespace-folders: true
124-
namespace: azure.mgmt.datalake.analytics.account
125-
output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/account
126-
```
113+
See configuration in [readme.python.md](./readme.python.md)
127114

128115
## Go
129116

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+
6+
``` yaml $(track2)
7+
azure-arm: true
8+
license-header: MICROSOFT_MIT_NO_VERSION
9+
package-name: azure-mgmt-datalake-analytics
10+
package-version: 1.0.0b1
11+
clear-output-folder: true
12+
```
13+
14+
``` yaml $(python-mode) == 'update' && $(track2)
15+
no-namespace-folders: true
16+
output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/account
17+
```
18+
19+
``` yaml $(python-mode) == 'create' && $(track2)
20+
basic-setup-py: true
21+
namespace: azure.mgmt.datalake.analytics.account
22+
output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-analytics
23+
```

0 commit comments

Comments
 (0)