From 5d67cc48f2302f3fc4669276f35b5eb25055b6d2 Mon Sep 17 00:00:00 2001 From: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com> Date: Fri, 18 Mar 2022 15:23:15 +0800 Subject: [PATCH] [EventHub] Update readme.python (#18313) * update readme.python * update readme --- .../eventhub/resource-manager/readme.md | 3 -- .../resource-manager/readme.python.md | 28 ++----------------- 2 files changed, 2 insertions(+), 29 deletions(-) diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md index 5e9ec13e349f..5c8fb1ccd59f 100644 --- a/specification/eventhub/resource-manager/readme.md +++ b/specification/eventhub/resource-manager/readme.md @@ -181,9 +181,6 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - after_scripts: - - python ./scripts/multiapi_init_gen.py azure-mgmt-eventhub - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/eventhub/resource-manager/readme.python.md b/specification/eventhub/resource-manager/readme.python.md index b0546daaa499..9b9b55341113 100644 --- a/specification/eventhub/resource-manager/readme.python.md +++ b/specification/eventhub/resource-manager/readme.python.md @@ -2,20 +2,7 @@ These settings apply only when `--python` is specified on the command line. -``` yaml !$(track2) -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - package-name: azure-mgmt-eventhub - package-version: 0.1.0 - clear-output-folder: true - no-namespace-folders: true -``` - -These settings apply only when `--track2` is specified on the command line. - -``` yaml $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-eventhub @@ -29,17 +16,7 @@ modelerfour: Generate all API versions currently shipped for this package -```yaml $(multiapi) && !$(track2) -batch: - - tag: package-2021-11 - - tag: package-2021-06-preview - - tag: package-2021-01-preview - - tag: package-2018-01-preview - - tag: package-2017-04 - - tag: package-2015-08 -``` - -```yaml $(multiapi) && $(track2) +```yaml $(multiapi) && $(python) clear-output-folder: true batch: - tag: package-2021-11 @@ -53,7 +30,6 @@ batch: ``` yaml $(multiapiscript) output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/ -clear-output-folder: false perform-load: false ```