diff --git a/specification/billing/resource-manager/readme.md b/specification/billing/resource-manager/readme.md index 67b98f84dab4..5523c22ab38f 100644 --- a/specification/billing/resource-manager/readme.md +++ b/specification/billing/resource-manager/readme.md @@ -105,34 +105,6 @@ csharp: See configuration in [readme.go.md](./readme.go.md) -## Python - -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.billing - package-name: azure-mgmt-billing - package-version: 0.2.0 - clear-output-folder: true -``` -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt-billing/azure/mgmt/billing -``` -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/azure-mgmt-billing -``` - ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/billing/resource-manager/readme.python.md b/specification/billing/resource-manager/readme.python.md new file mode 100644 index 000000000000..28fc27d0534c --- /dev/null +++ b/specification/billing/resource-manager/readme.python.md @@ -0,0 +1,27 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.billing + package-name: azure-mgmt-billing + package-version: 0.3.0 + clear-output-folder: true +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/billing/azure-mgmt-billing/azure/mgmt/billing +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/billing/azure-mgmt-billing +```