Sebastián Ramírez
c1796275f9
📝 Tweak docs and translations links and remove old docs translations ( #11381 )
1 year ago
jaystone776
ae315b7f1a
🌐 Add Chinese translation for `docs/zh/docs/advanced/openapi-callbacks.md` ( #3825 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
jaystone776
0e0bae46b5
🌐 Add Chinese translation for `docs/zh/docs/advanced/extending-openapi.md` ( #3823 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
jaystone776
3cf500da06
🌐 Add Chinese translation for `docs/zh/docs/advanced/testing-dependencies.md` ( #3819 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
jaystone776
1faf30d1d5
🌐 Add Chinese translation for `docs/zh/docs/advanced/custom-request-and-route.md` ( #3816 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
jaystone776
807cb3e2ee
🌐 Add Chinese translation for `docs/zh/docs/advanced/templates.md` ( #3812 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
jaystone776
cca48b3956
🌐 Add Chinese translation for `docs/zh/docs/advanced/sub-applications.md` ( #3811 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
jaystone776
8edc04f84c
🌐 Add Chinese translation for `docs/zh/docs/advanced/async-sql-databases.md` ( #3805 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
jaystone776
3e6c1e455b
🌐 Add Chinese translation for `docs/zh/docs/advanced/middleware.md` ( #3804 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
jaystone776
bc6f4ae5ee
🌐 Add Chinese translation for `docs/zh/docs/advanced/dataclasses.md` ( #3803 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
jaystone776
23ddb24279
🌐 Add Chinese translation for `docs/zh/docs/advanced/using-request-directly.md` ( #3802 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
jaystone776
32b5c3fbbb
🌐 Add Chinese translation for `docs/zh/docs/advanced/security/http-basic-auth.md` ( #3801 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
jaystone776
6bee636f90
🌐 Add Chinese translation for `docs/zh/docs/advanced/security/oauth2-scopes.md` ( #3800 )
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
Alejandra
93034fea48
📝 Update links to Pydantic docs to point to new website ( #11328 )
1 year ago
jaystone776
1f9d5a1db9
🌐 Add Chinese translation for `docs/zh/docs/advanced/advanced-dependencies.md` ( #3798 )
1 year ago
jaystone776
13c6eb2db0
🌐 Add Chinese translation for `docs/zh/docs/advanced/events.md` ( #3815 )
1 year ago
jaystone776
fc4606e1d0
🌐 Add Chinese translation for `docs/zh/docs/advanced/behind-a-proxy.md` ( #3820 )
1 year ago
jaystone776
eaf394d364
🌐 Add Chinese translation for `docs/zh/docs/advanced/testing-events.md` ( #3818 )
1 year ago
jaystone776
4b7fa89f4e
🌐 Add Chinese translation for `docs/zh/docs/advanced/testing-websockets.md` ( #3817 )
1 year ago
jaystone776
1e8b44f3e4
🌐 Add Chinese translation for `docs/zh/docs/advanced/testing-database.md` ( #3821 )
1 year ago
_Shuibei
9f7902925a
🌐 Add Chinese translation for `docs/zh/docs/advanced/additional-responses.md` ( #10325 )
Co-authored-by: unknown <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
Koke
759378d67f
✏️ Update Pydantic links to dotenv support ( #10511 )
2 years ago
Sebastián Ramírez
2e14c69c31
👷 Adopt Ruff format ( #10517 )
* 🔧 Update pre-commit, use ruff format
* ⬆️ Upgrade dependencies, use Ruff for formatting
* 🔧 Update Ruff config
* 🔨 Update lint and format scripts, use Ruff
* 🎨 Format internals with Ruff
* 🎨 Format docs scripts
* 🎨 Format tests
* 🎨 Format extra commas in src for docs
* 📝 Update docs mentioning `@lru_cache()`, use `@lru_cache` instead to keep consistency with the format
* 🎨 Update src for docs, use plain `@lru_cache`
* 🎨 Update src for docs format and docs references
2 years ago
Sebastián Ramírez
2ba7586ff3
⬆️ Drop support for Python 3.7, require Python 3.8 or above ( #10442 )
* 📝 Update docs, require Python 3.8+, drop 3.7
* 🔧 Update pyproject.toml, drop support for Python 3.7, require Python 3.8+
* 👷 Update CI GitHub Actions, drop support for Python 3.7, require 3.8+
* 📝 Update docs' references to Python 3.6 and 3.7, use Python 3.8
2 years ago
PieCat
bf952d345c
🌐 Add Chinese translation for `docs/zh/docs/advanced/generate-clients.md` ( #9883 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: xzmeng <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Sebastián Ramírez
51d3a8ff12
🔨 Add MkDocs hook that renames sections based on the first index file ( #9737 )
2 years ago
lordqyxz
fa7474b2e8
🌐 Add Chinese translation for `docs/zh/docs/advanced/security/index.md` ( #9666 )
Co-authored-by: shiyz <[email protected] >
2 years ago
雨过初晴
804a0a90cf
🌐 Add Chinese translations for `docs/zh/docs/advanced/settings.md` ( #9652 )
2 years ago
雨过初晴
4a7b21483b
🌐 Add Chinese translations for `docs/zh/docs/advanced/websockets.md` ( #9651 )
2 years ago
雨过初晴
57679e8370
🌐 Add Chinese translations for `docs/zh/docs/advanced/response-change-status-code.md` and `docs/zh/docs/advanced/response-headers.md` ( #9544 )
2 years ago
ASpathfinder
a26a3c1cbf
🌐 Add Chinese translation for `docs/zh/docs/advanced/wsgi.md` ( #4505 )
Co-authored-by: Jeodre <[email protected] >
Co-authored-by: KellyAlsa-massive-win <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
3 years ago
zhangbo
fb849ee7ef
🌐 Add translation for `docs/zh/docs/advanced/response-cookies.md` ( #4638 )
Co-authored-by: zhangbo <[email protected] >
3 years ago
Sebastián Ramírez
ca437cdfab
📝 Add docs recommending `Union` over `Optional` and migrate source examples ( #4908 )
* 📝 Add docs recommending Union over Optional
* 📝 Update docs recommending Union over Optional
* 📝 Update source examples for docs, recommend Union over Optional
* 📝 Update highlighted lines with updated source examples
* 📝 Update highlighted lines in Markdown with recent code changes
* 📝 Update docs, use Union instead of Optional
* ♻️ Update source examples to recommend Union over Optional
* 🎨 Update highlighted code in Markdown after moving from Optional to Union
3 years ago
Sebastián Ramírez
3d0f130ff3
🔧 Add pre-commit with first config and first formatting pass ( #4888 )
* 🔧 Add first pre-commit config
* 🎨 Format YAML files with pre-commit
* 🎨 Format Markdown with pre-commit
* 🎨 Format SVGs, drawio, JS, HTML with pre-commit
* ➕ Add pre-commit to dev dependencies
* ⬇️ Extend pre-commit range to support Python 3.6
3 years ago
Thomas Grainger
2d296c5d07
🔧 Configure strict pytest options and update/refactor tests ( #2790 )
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
Ikkyu
8af0b136b1
🌐 Add Chinese translation for Advanced - Custom Response ( #1459 )
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Ikkyu
94fe5495fa
🌐 Add Chinese translation for Advanced - Return a Response Directly ( #1452 )
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Ikkyu
6b49f67d11
🌐 Add Chinese translation for Advanced - Additional Status Codes ( #1451 )
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Ikkyu
410da16a14
🌐 Add Chinese translation for Advanced - Path Operation Advanced Configuration ( #1447 )
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Ikkyu
b8331b13d7
🌐 Add Chinese translation for Advanced User Guide - Intro ( #1445 )
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago