Skip to content

Commit

Permalink
Support uri (#2663)
Browse files Browse the repository at this point in the history
* support uri

* changelog
  • Loading branch information
msyyc authored Jul 1, 2024
1 parent 5a3bc34 commit 7de515a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .chronus/changes/support-uri-2024-6-1-15-37-1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/typespec-python"
---

Support SdkType "uri"
2 changes: 2 additions & 0 deletions packages/typespec-python/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export function getType<TServiceOperation extends SdkServiceOperation>(
case "password":
case "guid":
case "url":
case "uri":
case "uuid":
case "eTag":
case "armId":
Expand Down Expand Up @@ -358,6 +359,7 @@ const sdkScalarKindToPythonKind: Record<string, string> = {
password: "string",
guid: "string",
url: "string",
uri: "string",
uuid: "string",
etag: "string",
armId: "string",
Expand Down

0 comments on commit 7de515a

Please sign in to comment.