Skip to content

Commit

Permalink
python config (#14984)
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc authored Jun 25, 2021
1 parent 01ce303 commit 8dff86d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
6 changes: 5 additions & 1 deletion specification/resourcehealth/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-sdk-for-python
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-net
- repo: azure-sdk-for-ruby
Expand All @@ -95,6 +95,10 @@ swagger-to-sdk:

See configuration in [readme.go.md](./readme.go.md)

## Python

See configuration in [readme.python.md](./readme.python.md)

## Java

These settings apply only when `--java` is specified on the command line.
Expand Down
37 changes: 37 additions & 0 deletions specification/resourcehealth/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## Python

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

``` yaml $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-resourcehealth
no-namespace-folders: true
package-version: 1.0.0b1
```
### Python multi-api
Generate all API versions currently shipped for this package
```yaml $(multiapi)
clear-output-folder: true
batch:
- tag: package-2015-01
- multiapiscript: true
```
``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/
clear-output-folder: false
perform-load: false
```
### Tag: package-2015-01 and python
These settings apply only when `--tag=package-2015-01 --python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2015-01'
namespace: azure.mgmt.resourcehealth.v2015_01_01
output-folder: $(python-sdks-folder)/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/v2015_01_01
```

0 comments on commit 8dff86d

Please sign in to comment.