diff --git a/.github/workflows/smokeshow.yml b/.github/workflows/smokeshow.yml index ba505985d..a0ffd55e6 100644 --- a/.github/workflows/smokeshow.yml +++ b/.github/workflows/smokeshow.yml @@ -40,7 +40,17 @@ jobs: path: htmlcov github-token: ${{ secrets.GITHUB_TOKEN }} run-id: ${{ github.event.workflow_run.id }} - - run: smokeshow upload htmlcov + # Try 5 times to upload coverage to smokeshow + - name: Upload coverage to Smokeshow + run: | + for i in 1 2 3 4 5; do + if smokeshow upload htmlcov; then + echo "Smokeshow upload success!" + break + fi + echo "Smokeshow upload error, sleep 1 sec and try again." + sleep 1 + done env: SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage} SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 100 diff --git a/docs/en/docs/img/sponsors/speakeasy.png b/docs/en/docs/img/sponsors/speakeasy.png index 001b4b4ca..5ddc25487 100644 Binary files a/docs/en/docs/img/sponsors/speakeasy.png and b/docs/en/docs/img/sponsors/speakeasy.png differ diff --git a/docs/en/docs/release-notes.md b/docs/en/docs/release-notes.md index 2c88669d2..9b6cae978 100644 --- a/docs/en/docs/release-notes.md +++ b/docs/en/docs/release-notes.md @@ -25,6 +25,7 @@ hide: ### Translations +* โœ๏ธ Delete unnecessary backspace in `docs/ja/docs/tutorial/path-params-numeric-validations.md`. PR [#12238](https://github.com/fastapi/fastapi/pull/12238) by [@FakeDocument](https://github.com/FakeDocument). * ๐ŸŒ Update Chinese translation for `docs/zh/docs/fastapi-cli.md`. PR [#13102](https://github.com/fastapi/fastapi/pull/13102) by [@Zhongheng-Cheng](https://github.com/Zhongheng-Cheng). * ๐ŸŒ Add new Spanish translations for all docs with new LLM-assisted system using PydanticAI. PR [#13122](https://github.com/fastapi/fastapi/pull/13122) by [@tiangolo](https://github.com/tiangolo). * ๐ŸŒ Update existing Spanish translations using the new LLM-assisted system using PydanticAI. PR [#13118](https://github.com/fastapi/fastapi/pull/13118) by [@tiangolo](https://github.com/tiangolo). @@ -70,6 +71,8 @@ hide: ### Internal +* ๐Ÿ‘ท Add retries to Smokeshow. PR [#13151](https://github.com/fastapi/fastapi/pull/13151) by [@tiangolo](https://github.com/tiangolo). +* ๐Ÿ”ง Update Speakeasy sponsor graphic. PR [#13147](https://github.com/fastapi/fastapi/pull/13147) by [@chailandau](https://github.com/chailandau). * ๐Ÿ‘ฅ Update FastAPI GitHub topic repositories. PR [#13146](https://github.com/fastapi/fastapi/pull/13146) by [@tiangolo](https://github.com/tiangolo). * ๐Ÿ‘ทโ€โ™€๏ธ Add script for GitHub Topic Repositories and update External Links. PR [#13135](https://github.com/fastapi/fastapi/pull/13135) by [@alejsdev](https://github.com/alejsdev). * ๐Ÿ‘ฅ Update FastAPI People - Contributors and Translators. PR [#13145](https://github.com/fastapi/fastapi/pull/13145) by [@tiangolo](https://github.com/tiangolo). diff --git a/docs/ja/docs/tutorial/path-params-numeric-validations.md b/docs/ja/docs/tutorial/path-params-numeric-validations.md index 13a71f72f..a1810ae37 100644 --- a/docs/ja/docs/tutorial/path-params-numeric-validations.md +++ b/docs/ja/docs/tutorial/path-params-numeric-validations.md @@ -58,7 +58,7 @@ Pythonใฏใใฎ`*`ใงไฝ•ใ‹ใ‚’ใ™ใ‚‹ใ“ใจใฏใ‚ใ‚Šใพใ›ใ‚“ใŒใ€ใใ‚Œไปฅ้™ `Query`ใจ`Path`๏ผˆใ€ใใ—ใฆๅพŒ่ฟฐใ™ใ‚‹ไป–ใฎใ‚‚ใฎ๏ผ‰ใ‚’็”จใ„ใฆใ€ๆ–‡ๅญ—ๅˆ—ใฎๅˆถ็ด„ใ‚’ๅฎฃ่จ€ใ™ใ‚‹ใ“ใจใŒใงใใพใ™ใŒใ€ๆ•ฐๅ€คใฎๅˆถ็ด„ใ‚‚ๅŒๆง˜ใซๅฎฃ่จ€ใงใใพใ™ใ€‚ -ใ“ใ“ใงใ€`ge=1`ใฎๅ ดๅˆใ€`item_id`ใฏ`1`ใ€Œใ‚ˆใ‚Šๅคงใใ„`g`ใ‹ใ€ๅŒใ˜`e`ใ€ๆ•ดๆ•ฐใงใชใ‚Œใ‘ใฐใชใ‚Šใพใ›ใ‚“ใ€‚ +ใ“ใ“ใงใ€`ge=1`ใฎๅ ดๅˆใ€`item_id`ใฏ`1`ใ€Œใ‚ˆใ‚Šๅคงใใ„`g`ใ‹ใ€ๅŒใ˜`e`ใ€ๆ•ดๆ•ฐใงใชใ‚Œใ‘ใฐใชใ‚Šใพใ›ใ‚“ใ€‚ {* ../../docs_src/path_params_numeric_validations/tutorial004.py hl[8] *} @@ -104,7 +104,7 @@ Pythonใฏใใฎ`*`ใงไฝ•ใ‹ใ‚’ใ™ใ‚‹ใ“ใจใฏใ‚ใ‚Šใพใ›ใ‚“ใŒใ€ใใ‚Œไปฅ้™ /// note | ๆŠ€่ก“่ฉณ็ดฐ -`fastapi`ใ‹ใ‚‰`Query`ใ€`Path`ใชใฉใ‚’ใ‚คใƒณใƒใƒผใƒˆใ™ใ‚‹ใจใ€ใ“ใ‚Œใ‚‰ใฏๅฎŸ้š›ใซใฏ้–ขๆ•ฐใงใ™ใ€‚ +`fastapi`ใ‹ใ‚‰`Query`ใ€`Path`ใชใฉใ‚’ใ‚คใƒณใƒใƒผใƒˆใ™ใ‚‹ใจใ€ใ“ใ‚Œใ‚‰ใฏๅฎŸ้š›ใซใฏ้–ขๆ•ฐใงใ™ใ€‚ ๅ‘ผใณๅ‡บใ•ใ‚Œใ‚‹ใจใ€ๅŒใ˜ๅๅ‰ใฎใ‚ฏใƒฉใ‚นใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚นใ‚’่ฟ”ใ—ใพใ™ใ€‚