- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 645 for Pythons (0.03 sec)
-
fastapi/exceptions.py
errors in your code. Read more about it in the [FastAPI docs for Handling Errors](https://fastapi.tiangolo.com/tutorial/handling-errors/). ## Example ```python from fastapi import FastAPI, HTTPException app = FastAPI() items = {"foo": "The Foo Wrestlers"} @app.get("/items/{item_id}") async def read_item(item_id: str):Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 6.8K bytes - Viewed (0) -
docs/ja/docs/deployment/server-workers.md
``` </div> それぞれのオプションの意味を見てみましょう: * `main:app`: `main`は"`main`"という名前のPythonモジュール、つまりファイル`main.py`を意味します。そして `app` は **FastAPI** アプリケーションの変数名です。 * main:app`はPythonの`import`文と同じようなものだと想像できます: ```Python from main import app ``` * つまり、`main:app`のコロンは、`from main import app`のPythonの`import`の部分と同じになります。 * `--workers`: 使用するワーカー・プロセスの数で、それぞれがUvicornのワーカーを実行します。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 11.2K bytes - Viewed (0) -
docs/en/docs/advanced/async-tests.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4K bytes - Viewed (0) -
docs/ru/docs/advanced/middleware.md
В общем случае ASGI middleware — это классы, которые ожидают получить ASGI‑приложение первым аргументом. Поэтому в документации к сторонним ASGI middleware, скорее всего, вы увидите что‑то вроде: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.6K bytes - Viewed (0) -
docs/en/docs/reference/fastapi.md
# `FastAPI` class Here's the reference information for the `FastAPI` class, with all its parameters, attributes and methods. You can import the `FastAPI` class directly from `fastapi`: ```python from fastapi import FastAPI ``` ::: fastapi.FastAPI options: members: - openapi_version - webhooks - state - dependency_overrides - openapiRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 701 bytes - Viewed (0) -
docs/en/mkdocs.yml
advanced/extending-openapi.md: how-to/extending-openapi.md advanced/testing-database.md: how-to/testing-database.md mkdocstrings: handlers: python: options: extensions: - griffe_typingdoc show_root_heading: true show_if_no_docstring: true preload_modules: - httpx - starletteRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 10:44:55 UTC 2025 - 9.2K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/index.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 10.1K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params-numeric-validations.md
* déclarer le paramètre de chemin `item_id` en utilisant `Path` * les avoir dans un ordre différent * ne pas utiliser `Annotated` ...Python a une petite syntaxe spéciale pour cela. Passez `*`, comme premier paramètre de la fonction.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params-numeric-validations.md
* declarar o parâmetro de path `item_id` usando `Path` * tê-los em uma ordem diferente * não usar `Annotated` ...o Python tem uma pequena sintaxe especial para isso. Passe `*`, como o primeiro parâmetro da função.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
docs/fr/docs/advanced/additional-responses.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.5K bytes - Viewed (0)