Skip to content

Commit

Permalink
bump tcgc 0.46.2 (#2854)
Browse files Browse the repository at this point in the history
* bump tcgc 0.46.2

* changelog
  • Loading branch information
tadelesh authored Sep 25, 2024
1 parent 0fdd478 commit 50b9221
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 14 deletions.
7 changes: 7 additions & 0 deletions .chronus/changes/upgrade_tcgc-2024-8-25-16-11-25.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: dependencies
packages:
- "@azure-tools/typespec-python"
---

bump tcgc 0.46.2
4 changes: 2 additions & 2 deletions packages/typespec-python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@azure-tools/typespec-azure-core": ">=0.46.0 <1.0.0",
"@azure-tools/typespec-azure-resource-manager": ">=0.46.0 <1.0.0",
"@azure-tools/typespec-autorest": ">=0.46.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.46.1 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.46.2 <1.0.0",
"@azure-tools/typespec-azure-rulesets": ">=0.46.0 <3.0.0",
"@typespec/compiler": ">=0.60.0 <1.0.0",
"@typespec/http": ">=0.60.0 <1.0.0",
Expand Down Expand Up @@ -78,7 +78,7 @@
"typescript": "~5.6.2",
"typescript-eslint": "^8.5.0",
"@azure-tools/typespec-azure-core": "~0.46.0",
"@azure-tools/typespec-client-generator-core": "0.46.1",
"@azure-tools/typespec-client-generator-core": "0.46.2",
"@typespec/compiler": "~0.60.0",
"@typespec/http": "~0.60.0",
"@typespec/rest": "~0.60.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/typespec-python/src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
SdkServiceResponseHeader,
UsageFlags,
SdkHttpOperationExample,
SdkHttpErrorResponse,
} from "@azure-tools/typespec-client-generator-core";
import {
camelToSnakeCase,
Expand Down Expand Up @@ -331,7 +332,7 @@ function emitHttpBodyParameter(
function emitHttpResponse(
context: PythonSdkContext<SdkHttpOperation>,
statusCodes: HttpStatusCodeRange | number | "*",
response: SdkHttpResponse,
response: SdkHttpResponse | SdkHttpErrorResponse,
method?: SdkServiceMethod<SdkHttpOperation>,
isException = false,
): Record<string, any> | undefined {
Expand Down
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 50b9221

Please sign in to comment.