Skip to content

Commit

Permalink
Revert some changes now that multi-api should work for python SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Dec 14, 2018
1 parent 73ffbe6 commit cc878ef
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions specification/containerservices/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
after_scripts:
- python ./scripts/multiapi_init_gen.py azure-mgmt-containerservice
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
Expand All @@ -225,34 +227,6 @@ csharp:
clear-output-folder: true
```

## Python

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)
python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.containerservice
package-name: azure-mgmt-containerservice
package-version: 1.0.0
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt-containerservice/azure/mgmt/containerservice
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-containerservice
```

## Go

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

0 comments on commit cc878ef

Please sign in to comment.