Skip to content

Commit

Permalink
update readme.python.md (#18255)
Browse files Browse the repository at this point in the history
* update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

Co-authored-by: ZiWei Chen (WICRESOFT NORTH AMERICA LTD) <v-ziweichen@microsoft.com>
  • Loading branch information
kazrael2119 and kazrael2119 authored Mar 16, 2022
1 parent 1706f06 commit f635d0f
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 96 deletions.
8 changes: 2 additions & 6 deletions specification/advisor/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python) && $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.advisor
Expand All @@ -13,12 +13,8 @@ package-version: 9.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/advisor/azure-mgmt-advisor/azure/mgmt/advisor
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/advisor/azure-mgmt-advisor
```
32 changes: 3 additions & 29 deletions specification/botservice/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,9 @@ 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>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python) && !$(track2)
python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.botservice
package-name: azure-mgmt-botservice
package-version: 1.0.0
clear-output-folder: true
```

``` yaml $(python) && $(track2)
python-mode: create

``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.botservice
Expand All @@ -26,24 +15,9 @@ package-version: 0.2.0
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/botservice/azure-mgmt-botservice/azure/mgmt/botservice
```
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/botservice/azure-mgmt-botservice/azure/mgmt/botservice
```
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/botservice/azure-mgmt-botservice
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/botservice/azure-mgmt-botservice
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,16 @@ 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>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python) && $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-datalake-store
namespace: azure.mgmt.datalake.store
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-store/azure/mgmt/datalake/store
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-store
```
31 changes: 3 additions & 28 deletions specification/managedservices/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,8 @@ 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>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python) && !$(track2)
python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.managedservices
package-name: azure-mgmt-managedservices
package-version: 0.1.0
clear-output-folder: true
```
``` yaml $(python) && $(track2)
python-mode: create

``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.managedservices
Expand All @@ -25,21 +14,7 @@ package-version: 0.1.0
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/managedservices/azure-mgmt-managedservices/azure/mgmt/managedservices
```
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/managedservices/azure-mgmt-managedservices
```
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/managedservices/azure-mgmt-managedservices/azure/mgmt/managedservices
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/managedservices/azure-mgmt-managedservices
```
8 changes: 2 additions & 6 deletions specification/portal/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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 $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.portal
Expand All @@ -12,12 +12,8 @@ package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/portal/azure-mgmt-portal/azure/mgmt/portal
```
``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/portal/azure-mgmt-portal
```
8 changes: 1 addition & 7 deletions specification/quantum/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ 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)
python-mode: create
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.quantum
Expand All @@ -13,12 +12,7 @@ package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/quantum/azure-mgmt-quantum/azure/mgmt/quantum
```
``` yaml $(python) && $(python-mode) == 'create'
basic-setup-py: true
output-folder: $(python-sdks-folder)/quantum/azure-mgmt-quantum
```
10 changes: 3 additions & 7 deletions specification/storagecache/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@ 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>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python) && $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-storagecache
no-namespace-folders: true
namespace: azure.mgmt.storagecache
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagecache/azure/mgmt/storagecache
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagecache
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@ 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>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python) && $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-storageimportexport
no-namespace-folders: true
namespace: azure.mgmt.storageimportexport
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storageimportexport/azure/mgmt/storageimportexport
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storageimportexport
```

0 comments on commit f635d0f

Please sign in to comment.