Skip to content

Commit ae6770a

Browse files
zhangyan133Yan Zhang (WICRESOFT NORTH AMERICA LTD)msyyc
authored
devspaces wave4 (#14307)
* devspaces wave4 * Update readme.python.md Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com> Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
1 parent c31e0ae commit ae6770a

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

specification/devspaces/resource-manager/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This is not used by Autorest itself.
5252
swagger-to-sdk:
5353
- repo: azure-sdk-for-net
5454
- repo: azure-sdk-for-java
55-
- repo: azure-sdk-for-python
55+
- repo: azure-sdk-for-python-track2
5656
- repo: azure-sdk-for-js
5757
- repo: azure-sdk-for-node
5858
- repo: azure-resource-manager-schemas

specification/devspaces/resource-manager/readme.python.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,27 @@ These settings apply only when `--python` is specified on the command line.
44
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

7-
``` yaml $(python)
8-
python-mode: create
9-
python:
10-
azure-arm: true
11-
license-header: MICROSOFT_MIT_NO_VERSION
12-
payload-flattening-threshold: 2
13-
namespace: azure.mgmt.devspaces
14-
package-name: azure-mgmt-devspaces
15-
package-version: 0.2.0
16-
clear-output-folder: true
7+
``` yaml $(python) && $(track2)
8+
azure-arm: true
9+
license-header: MICROSOFT_MIT_NO_VERSION
10+
package-name: azure-mgmt-devspaces
11+
no-namespace-folders: true
12+
package-version: 1.0.0b1
13+
clear-output-folder: true
1714
```
18-
``` yaml $(python) && $(python-mode) == 'update'
19-
python:
20-
no-namespace-folders: true
21-
output-folder: $(python-sdks-folder)/aks/azure-mgmt-devspaces/azure/mgmt/devspaces
15+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
16+
no-namespace-folders: true
17+
output-folder: $(python-sdks-folder)/aks/azure-mgmt-devspaces/azure/mgmt/devspaces
2218
```
23-
``` yaml $(python) && $(python-mode) == 'create'
24-
python:
25-
basic-setup-py: true
26-
output-folder: $(python-sdks-folder)/aks/azure-mgmt-devspaces
19+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
20+
basic-setup-py: true
21+
output-folder: $(python-sdks-folder)/aks/azure-mgmt-devspaces
22+
```
23+
24+
``` yaml $(python) && $(track2)
25+
directive:
26+
- from: swagger-document
27+
where: $.definitions.OrchestratorSpecificConnectionDetails
28+
transform: >
29+
$['required'] = ['instanceType'];
2730
```

0 commit comments

Comments
 (0)