Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4ed3e62

Browse files
authored
HDInsight Python conf (Azure#2501)
1 parent 29c68f3 commit 4ed3e62

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

specification/hdinsight/resource-manager/readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,13 @@ This is not used by Autorest itself.
6161
``` yaml $(swagger-to-sdk)
6262
swagger-to-sdk:
6363
- repo: azure-sdk-for-go
64+
- repo: azure-libraries-for-java
65+
- repo: azure-sdk-for-python
6466
```
6567

68+
## Python
69+
70+
See configuration in [readme.python.md](./readme.python.md)
6671

6772
## Go
6873

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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)
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.hdinsight
14+
package-name: azure-mgmt-hdinsight
15+
package-version: 0.1.0
16+
clear-output-folder: true
17+
```
18+
``` yaml $(python) && $(python-mode) == 'update'
19+
python:
20+
no-namespace-folders: true
21+
output-folder: $(python-sdks-folder)/azure-mgmt-hdinsight/azure/mgmt/hdinsight
22+
```
23+
``` yaml $(python) && $(python-mode) == 'create'
24+
python:
25+
basic-setup-py: true
26+
output-folder: $(python-sdks-folder)/azure-mgmt-hdinsight
27+
```

0 commit comments

Comments
 (0)