From 2485a9e7b43384fbe27c2d2af7319f516c24bae6 Mon Sep 17 00:00:00 2001 From: msyyc <70930885+msyyc@users.noreply.github.com> Date: Wed, 9 Jun 2021 01:08:33 +0800 Subject: [PATCH] [iot-deviceupdate] Update readme.python.md (#14708) * Update readme.python.md * Update readme.md --- .../deviceupdate/data-plane/readme.md | 2 +- .../deviceupdate/data-plane/readme.python.md | 23 ++++++++++--------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/specification/deviceupdate/data-plane/readme.md b/specification/deviceupdate/data-plane/readme.md index 1cca118e7d26..73985a42346b 100644 --- a/specification/deviceupdate/data-plane/readme.md +++ b/specification/deviceupdate/data-plane/readme.md @@ -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: diff --git a/specification/deviceupdate/data-plane/readme.python.md b/specification/deviceupdate/data-plane/readme.python.md index 8d45ee47f464..35906a2b338d 100644 --- a/specification/deviceupdate/data-plane/readme.python.md +++ b/specification/deviceupdate/data-plane/readme.python.md @@ -3,22 +3,23 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -```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 ```