Skip to content

Commit

Permalink
[iot-deviceupdate] Update readme.python.md (#14708)
Browse files Browse the repository at this point in the history
* Update readme.python.md

* Update readme.md
  • Loading branch information
msyyc authored Jun 8, 2021
1 parent 01f98f0 commit 2485a9e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion specification/deviceupdate/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ This is not used by Autorest itself.

```yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-js
after_scripts:
Expand Down
23 changes: 12 additions & 11 deletions specification/deviceupdate/data-plane/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@
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-mode: create
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.iot.deviceupdate
package-name: azure-iot-deviceupdate
package-version: 1.0.0b1
clear-output-folder: true
add-credentials: true
credential-scopes: https://api.adu.microsoft.com/.default
``` yaml $(track2)
python-mode: create
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.iot.deviceupdate
package-name: azure-iot-deviceupdate
package-version: 1.0.0b1
clear-output-folder: true
add-credentials: true
credential-scopes: https://api.adu.microsoft.com/.default
```
```yaml $(python-mode) == 'create'
``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/deviceupdate/azure-iot-deviceupdate
```
```yaml $(python-mode) == 'update'
``` yaml $(python-mode) == 'update' && $(track2)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/deviceupdate/azure-iot-deviceupdate/azure/iot/deviceupdate
```

0 comments on commit 2485a9e

Please sign in to comment.