Skip to content

Commit

Permalink
Update readme.python.md (#22547)
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc authored Feb 10, 2023
1 parent 0f11f8a commit 18e0a75
Showing 1 changed file with 6 additions and 26 deletions.
32 changes: 6 additions & 26 deletions specification/commerce/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,22 @@
## Python

These settings apply only when `--track2` is specified on the command line.
These settings apply only when `--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 $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-commerce
namespace: azure.mgmt.commerce
package-version: 1.0.0b1
no-namespace-folders: true
```
### Python multi-api
Generate all API versions currently shipped for this package
```yaml $(python)
multiapi: true
default-api-version: 2015-06-01-preview
clear-output-folder: true
batch:
- tag: package-2015-06-preview
- multiapiscript: true
```
``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/commerce/azure-mgmt-commerce/azure/mgmt/commerce/
perform-load: false
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/commerce/azure-mgmt-commerce/azure/mgmt/commerce
```
### Tag: package-2015-06-preview and python
These settings apply only when `--tag=package-2015-06-preview --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-06-preview'
namespace: azure.mgmt.commerce.v2015_06_01_preview
output-folder: $(python-sdks-folder)/commerce/azure-mgmt-commerce/azure/mgmt/commerce/v2015_06_01_preview
```
``` yaml $(python)
modelerfour:
Expand Down

0 comments on commit 18e0a75

Please sign in to comment.