- Sort Score
- Result 10 results
- Languages All
Results 891 - 900 of 1,080 for Str (0.02 sec)
-
docs/ja/docs/advanced/custom-response.md
/// ### `Response` メインの `Response` クラスで、他の全てのレスポンスはこれを継承しています。 直接返すことができます。 以下のパラメータを受け付けます。 * `content` - `str` か `bytes`。 * `status_code` - `int` のHTTPステータスコード。 * `headers` - 文字列の `dict` 。 * `media_type` - メディアタイプを示す `str` 。例えば `"text/html"` 。 FastAPI (実際にはStarlette) は自動的にContent-Lengthヘッダーを含みます。また、media_typeに基づいたContent-Typeヘッダーを含み、テキストタイプのためにcharsetを追加します。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.6K bytes - Viewed (0) -
docs/de/docs/advanced/settings.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 17.7K bytes - Viewed (0) -
tests/test_include_router_defaults_overrides.py
callback_router0 = APIRouter() @callback_router0.get("/") async def callback0(level0: str): pass # pragma: nocover callback_router1 = APIRouter() @callback_router1.get("/") async def callback1(level1: str): pass # pragma: nocover callback_router2 = APIRouter() @callback_router2.get("/") async def callback2(level2: str): pass # pragma: nocover callback_router3 = APIRouter()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 358.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-updates.md
Você pode usar `jsonable_encoder` para converter os dados de entrada em dados que podem ser armazenados como JSON (por exemplo, com um banco de dados NoSQL). Por exemplo, convertendo `datetime` em `str`. //// tab | Python 3.10+ ```Python hl_lines="28-33" {!> ../../../docs_src/body_updates/tutorial001_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="30-35"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 14 09:16:06 UTC 2024 - 6K bytes - Viewed (0) -
docs/en/docs/tutorial/body-updates.md
You can use the `jsonable_encoder` to convert the input data to data that can be stored as JSON (e.g. with a NoSQL database). For example, converting `datetime` to `str`. //// tab | Python 3.10+ ```Python hl_lines="28-33" {!> ../../docs_src/body_updates/tutorial001_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="30-35"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.6K bytes - Viewed (0) -
configure.py
def write_action_env_to_bazelrc(var_name, var): write_to_bazelrc('build --action_env {}="{}"'.format(var_name, str(var))) def write_repo_env_to_bazelrc(config_name, var_name, var): write_to_bazelrc( 'build:{} --repo_env {}="{}"'.format(config_name, var_name, str(var)) ) def run_shell(cmd, allow_non_zero=False, stderr=None): if stderr is None: stderr = sys.stdout
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 48.2K bytes - Viewed (0) -
docs/em/docs/tutorial/path-operation-configuration.md
👆 💪 ⚙️ `from starlette import status`. **FastAPI** 🚚 🎏 `starlette.status` `fastapi.status` 🏪 👆, 👩💻. ✋️ ⚫️ 👟 🔗 ⚪️➡️ 💃. /// ## 🔖 👆 💪 🚮 🔖 👆 *➡ 🛠️*, 🚶♀️ 🔢 `tags` ⏮️ `list` `str` (🛎 1️⃣ `str`): //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="17 22 27" {!> ../../docs_src/path_operation_configuration/tutorial002.py!} ``` //// //// tab | 🐍 3️⃣.9️⃣ & 🔛
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/em/docs/tutorial/query-params.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/tr/docs/tutorial/query-params.md
Fakat, bir sorgu parametresini zorunlu yapmak istiyorsanız varsayılan bir değer atamamanız yeterli olacaktır: ```Python hl_lines="6-7" {!../../docs_src/query_params/tutorial005.py!} ``` Burada `needy` parametresi `str` tipinden oluşan zorunlu bir sorgu parametresidir. Eğer tarayıcınızda şu bağlantıyı: ``` http://127.0.0.1:8000/items/foo-item ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/de/docs/tutorial/body.md
* Wenn der Parameter ein **einfacher Typ** ist (wie `int`, `float`, `str`, `bool`, usw.), wird er als **Query**-Parameter interpretiert. * Wenn der Parameter vom Typ eines **Pydantic-Modells** ist, wird er als Request**body** interpretiert. /// note | "Hinweis" FastAPI weiß, dass der Wert von `q` nicht erforderlich ist, wegen des definierten Defaultwertes `= None`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0)