Skip to content

Commit

Permalink
tspconfig update for codegen python sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhardwaj-msft committed Sep 23, 2024
1 parent 465d347 commit f06acc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"devDependencies": {
"@azure-tools/typespec-apiview": "0.4.9",
"@azure-tools/typespec-autorest": "0.46.0",
"@azure-tools/typespec-python": "0.46.0",
"@azure-tools/typespec-azure-core": "0.46.0",
"@azure-tools/typespec-azure-portal-core": "0.46.0",
"@azure-tools/typespec-azure-resource-manager": "0.46.0",
Expand Down
4 changes: 2 additions & 2 deletions specification/loadtestservice/LoadTestService/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ parameters:
service-dir:
default: "sdk/loadtesting"
emit:
- "@azure-tools/typespec-autorest"
- "@azure-tools/typespec-python"
# Uncomment this line and add "@azure-tools/typespec-python" to your package.json to generate Python code
#- "@azure-tools/typespec-python"
#- "@azure-tools/typespec-ts"
Expand All @@ -29,7 +29,7 @@ options:
generate-test: true
generate-sample: true
examples-dir: "{project-root}/examples"
# emitter-output-dir: "{python-sdk-folder}/sdk/{service-directory-name}/{package-name}"
emitter-output-dir: "{python-sdk-folder}/sdk/{service-directory-name}/{package-name}"
package-mode: azure-dataplane
flavor: azure
"@azure-tools/typespec-ts":
Expand Down

0 comments on commit f06acc2

Please sign in to comment.