- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 1,062 for python (0.04 seconds)
-
docs/en/docs/advanced/path-operation-advanced-configuration.md
/// /// warning If you do this, you have to make sure each one of your *path operation functions* has a unique name. Even if they are in different modules (Python files). /// ## Exclude from OpenAPI { #exclude-from-openapi }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.1K bytes - Click Count (0) -
docs/tr/docs/tutorial/first-steps.md
```python from main import app ``` Kodunuz şöyle yapılandırılmışsa: ``` . ├── backend │ ├── main.py │ ├── __init__.py ``` O zaman `entrypoint`'i şöyle ayarlardınız: ```toml [tool.fastapi] entrypoint = "backend.main:app" ``` Bu da şuna eşdeğer olur: ```python from backend.main import app ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 14.4K bytes - Click Count (0) -
docs/en/docs/external-links.md
/// info Before, this page used to list links to external articles. But now that FastAPI is the backend framework with the most GitHub stars across languages, and the most starred and used framework in Python, it no longer makes sense to attempt to list all articles written about it. /// ## GitHub Repositories Most starred [GitHub repositories with the topic `fastapi`](https://github.com/topics/fastapi):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 868 bytes - Click Count (0) -
docs/zh/docs/advanced/middleware.md
总之,ASGI 中间件是类,并把 ASGI 应用作为第一个参数。 因此,有些第三方 ASGI 中间件的文档推荐以如下方式使用中间件: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ``` 但 FastAPI(实际上是 Starlette)提供了一种更简单的方式,能让内部中间件在处理服务器错误的同时,还能让自定义异常处理器正常运作。 为此,要使用 `app.add_middleware()` (与 CORS 中的示例一样)。 ```Python from fastapi import FastAPI from unicorn import UnicornMiddleware
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 3.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/path-params-numeric-validations.md
これは**小さなトリック**で、便利な場合がありますが、頻繁に必要になることはありません。 次のことをしたい場合: * `q`クエリパラメータを`Query`もデフォルト値もなしで宣言する * パスパラメータ`item_id`を`Path`を使って宣言する * それらを別の順番にする * `Annotated`を使わない ...Pythonにはそのための少し特殊な構文があります。 関数の最初のパラメータとして`*`を渡します。 Pythonはその`*`で何かをすることはありませんが、それ以降のすべてのパラメータがキーワード引数(キーと値のペア)として呼ばれるべきものであると知っているでしょう。それは<abbr title="From: K-ey W-ord Arg-uments - キーワード引数"><code>kwargs</code></abbr>としても知られています。たとえデフォルト値がなくても。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 7.6K bytes - Click Count (0) -
ci/official/utilities/cleanup_summary.sh
# Each failed target there will have its own representation, making failures # easier to find and read. function resultstore_extract { local PYTHON_BIN XML_PATH PYTHON_BIN=$(which python3 2>/dev/null || which python) XML_PATH="$TFCI_OUTPUT_DIR/Bazel_Test_and_Build_Results/sponge_log.xml" "$PYTHON_BIN" \ "$TFCI_GIT_DIR/ci/official/utilities/extract_resultstore_links.py" \ "$TFCI_OUTPUT_DIR/script.log" \Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 09 18:37:25 GMT 2025 - 1.8K bytes - Click Count (0) -
ci/official/utilities/setup.sh
# functionality instead. tfrun() { "$@"; } if [[ $(uname -s) = MSYS_NT* ]]; then source ./ci/official/utilities/windows.sh echo 'Converting MSYS Linux-like paths to Windows paths (for Docker, Python, etc.)' source <(python ./ci/official/utilities/convert_msys_paths_to_win_paths.py --whitelist-prefix TFCI_) fi # Run all "tfrun" commands under Docker. See setup_docker.sh for details if [[ "$TFCI_DOCKER_ENABLE" == 1 ]]; thenCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 09 18:37:25 GMT 2025 - 6.2K bytes - Click Count (0) -
docs/en/docs/reference/security/index.md
You can import them from `fastapi.security`: ```python from fastapi.security import ( APIKeyCookie, APIKeyHeader, APIKeyQuery, HTTPAuthorizationCredentials, HTTPBasic, HTTPBasicCredentials, HTTPBearer, HTTPDigest, OAuth2,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 1.7K bytes - Click Count (0) -
src/main/config/openapi/openapi-user.yaml
required: false style: form explode: true schema: type: array items: type: string example: [python] responses: '200': description: Successful operation content: application/json: schema: type: object properties:Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu May 09 06:31:27 GMT 2024 - 21.6K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial002_py310.py hl[7,9] *} /// info To use `EmailStr`, first install [`email-validator`](https://github.com/JoshData/python-email-validator). Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then install it, for example: ```console $ pip install email-validator ``` or with:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0)