Skip to content

Commit 9e19291

Browse files
msyycCopilot
andauthored
[python] bump typespec 1.1.0 (microsoft#7613)
Based on microsoft#7612 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 8c40275 commit 9e19291

File tree

4 files changed

+497
-943
lines changed

4 files changed

+497
-943
lines changed

packages/http-client-python/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log - @typespec/http-client-python
22

3+
## 0.12.1
4+
5+
### Bump dependencies
6+
7+
- [#7613](https://github.com/microsoft/typespec/pull/7613) bump typespec
8+
9+
310
## 0.12.0
411

512
### Features

packages/http-client-python/generator/pygen/codegen/models/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def pylint_disable(self) -> str:
173173
p
174174
for p in self.parameters.parameters
175175
if p.is_api_version
176+
and p.client_name == "api_version"
176177
and p.method_location in [ParameterMethodLocation.KEYWORD_ONLY, ParameterMethodLocation.KWARG]
177178
):
178179
retval = add_to_pylint_disable(retval, "client-accepts-api-version-keyword")

0 commit comments

Comments
 (0)