Skip to content

Commit 5875773

Browse files
committed
Merge upstream/main into drop-python-dateutil
Brings in 8 commits since the PR opened, notably: - typer constraint bump to <0.27 - uv_build 0.11 template update - mypy v2 cast cleanup in generated output Conflict resolution: - pdm.lock, integration-tests/pdm.lock: regenerated via 'pdm lock' against the merged pyproject.toml. - Golden records: regenerated via 'pdm run regen' to absorb the mypy-cast cleanup; the dateutil -> fromisoformat change from this branch is preserved. Verified locally with ruff check, ruff format --check, mypy, and the unit-test suite (283 passed, 4 skipped).
2 parents 01da6d2 + eeda8c5 commit 5875773

71 files changed

Lines changed: 823 additions & 689 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/add_support_for_x_enum_varnames_to_string_enums.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
if: matrix.os == 'ubuntu-latest'
6161

6262
- name: Store coverage report
63-
uses: actions/upload-artifact@v7.0.0
63+
uses: actions/upload-artifact@v7.0.1
6464
if: matrix.os == 'ubuntu-latest'
6565
with:
6666
name: coverage-${{ matrix.python }}
@@ -139,7 +139,7 @@ jobs:
139139
.venv/bin/python -m coverage report --fail-under=100
140140
141141
- name: Upload HTML report if check failed.
142-
uses: actions/upload-artifact@v7.0.0
142+
uses: actions/upload-artifact@v7.0.1
143143
with:
144144
name: html-report
145145
path: htmlcov

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
- name: Build
1919
run: hatchling build
2020
- name: Push to PyPI
21-
uses: pypa/gh-action-pypi-publish@v1.13.0
21+
uses: pypa/gh-action-pypi-publish@v1.14.0
2222
with:
2323
attestations: true

CHANGELOG.md

Lines changed: 12 additions & 0 deletions

end_to_end_tests/golden-record/my_test_api_client/api/default/get_common_parameters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def _get_kwargs(
1212
*,
1313
common: str | Unset = UNSET,
1414
) -> dict[str, Any]:
15+
1516
params: dict[str, Any] = {}
1617

1718
params["common"] = common

end_to_end_tests/golden-record/my_test_api_client/api/default/get_models_allof.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111

1212
def _get_kwargs() -> dict[str, Any]:
13+
1314
_kwargs: dict[str, Any] = {
1415
"method": "get",
1516
"url": "/models/allof",

end_to_end_tests/golden-record/my_test_api_client/api/default/get_models_oneof_with_required_const.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616

1717
def _get_kwargs() -> dict[str, Any]:
18+
1819
_kwargs: dict[str, Any] = {
1920
"method": "get",
2021
"url": "/models/oneof-with-required-const",

end_to_end_tests/golden-record/my_test_api_client/api/default/post_common_parameters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def _get_kwargs(
1212
*,
1313
common: str | Unset = UNSET,
1414
) -> dict[str, Any]:
15+
1516
params: dict[str, Any] = {}
1617

1718
params["common"] = common

end_to_end_tests/golden-record/my_test_api_client/api/default/reserved_parameters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def _get_kwargs(
1313
client_query: str,
1414
url_query: str,
1515
) -> dict[str, Any]:
16+
1617
params: dict[str, Any] = {}
1718

1819
params["client"] = client_query

end_to_end_tests/golden-record/my_test_api_client/api/defaults/defaults_tests_defaults_post.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def _get_kwargs(
2828
model_prop: ModelWithUnionProperty,
2929
required_model_prop: ModelWithUnionProperty,
3030
) -> dict[str, Any]:
31+
3132
params: dict[str, Any] = {}
3233

3334
params["string_prop"] = string_prop

0 commit comments

Comments
 (0)