Skip to content

Commit 8197e06

Browse files
authored
[python] add support for @clientOption("includeRootSlash") (#3332)
* Update dependencies * Add changelog * Update dependencies (2026-02-05 01:53:13) * Update @typespec/http-client-python dependency --------- Co-authored-by: AutoPrFromHttpClientPython <AutoPrFromHttpClientPython>
1 parent 103e2c3 commit 8197e06

4 files changed

Lines changed: 37 additions & 28 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
changeKind: feature
3+
packages:
4+
- "@autorest/python"
5+
- "@azure-tools/typespec-python"
6+
---
7+
8+
Add support for `@clientOption("includeRootSlash")` to control stripping of the slash after the root url

packages/autorest.python/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"homepage": "https://github.com/Azure/autorest.python/blob/main/README.md",
3131
"dependencies": {
32-
"@typespec/http-client-python": "~0.26.3",
32+
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgzOTQzNy9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.3.tgz",
3333
"@autorest/system-requirements": "~1.0.2",
3434
"fs-extra": "~11.2.0",
3535
"tsx": "~4.19.1"
@@ -47,4 +47,4 @@
4747
"requirements.txt",
4848
"generator/"
4949
]
50-
}
50+
}

packages/typespec-python/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@
6161
"@azure-tools/typespec-azure-resource-manager": ">=0.64.1 <1.0.0",
6262
"@azure-tools/typespec-autorest": ">=0.64.1 <1.0.0",
6363
"@azure-tools/typespec-azure-rulesets": ">=0.64.0 <1.0.0",
64-
"@azure-tools/typespec-client-generator-core": ">=0.64.5 <1.0.0"
64+
"@azure-tools/typespec-client-generator-core": ">=0.64.6 <1.0.0"
6565
},
6666
"dependencies": {
6767
"js-yaml": "~4.1.0",
6868
"semver": "~7.6.2",
6969
"tsx": "~4.19.1",
70-
"@typespec/http-client-python": "~0.26.3",
70+
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgzOTQzNy9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.3.tgz",
7171
"fs-extra": "~11.2.0"
7272
},
7373
"devDependencies": {
@@ -85,7 +85,7 @@
8585
"@azure-tools/typespec-azure-core": "~0.64.0",
8686
"@azure-tools/typespec-azure-rulesets": "~0.64.0",
8787
"@azure-tools/typespec-autorest": "~0.64.1",
88-
"@azure-tools/typespec-client-generator-core": "~0.64.5",
88+
"@azure-tools/typespec-client-generator-core": "~0.64.6",
8989
"@azure-tools/azure-http-specs": "0.1.0-alpha.36",
9090
"@typespec/http-specs": "0.1.0-alpha.32-dev.1",
9191
"@typespec/spector": "0.1.0-alpha.22",
@@ -103,4 +103,4 @@
103103
"chalk": "5.3.0",
104104
"@types/fs-extra": "11.0.4"
105105
}
106-
}
106+
}

pnpm-lock.yaml

Lines changed: 23 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)