- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 794 for py (0.01 sec)
-
docs/uk/docs/tutorial/first-steps.md
Найпростіший файл FastAPI може виглядати так: {* ../../docs_src/first_steps/tutorial001.py *} Скопіюйте це до файлу `main.py`. Запустіть сервер: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u> <font color="#3465A4">INFO </font> Using path <font color="#3465A4">main.py</font>
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 15.5K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial003.py hl[6,11] *} Otherwise, the path for `/users/{user_id}` would match also for `/users/me`, "thinking" that it's receiving a parameter `user_id` with a value of `"me"`. Similarly, you cannot redefine a path operation: {* ../../docs_src/path_params/tutorial003b.py hl[6,11] *} The first one will always be used since the path matches first.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 9.3K bytes - Viewed (0) -
docs/es/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial003.py hl[6,11] *} De lo contrario, el path para `/users/{user_id}` también coincidiría para `/users/me`, "pensando" que está recibiendo un parámetro `user_id` con un valor de `"me"`. De manera similar, no puedes redefinir una path operation: {* ../../docs_src/path_params/tutorial003b.py hl[6,11] *} La primera siempre será utilizada ya que el path coincide primero.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
### Defina um sub-modelo Por exemplo, nós podemos definir um modelo `Image`: {* ../../docs_src/body_nested_models/tutorial004.py hl[9:11] *} ### Use o sub-modelo como um tipo E então podemos usa-lo como o tipo de um atributo: {* ../../docs_src/body_nested_models/tutorial004.py hl[20] *} Isso significa que o **FastAPI** vai esperar um corpo similar à: ```JSON { "name": "Foo",
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.2K bytes - Viewed (0) -
docs/es/docs/tutorial/query-params-str-validations.md
```Python hl_lines="1 3" {!> ../../docs_src/query_params_str_validations/tutorial002_an_py310.py!} ``` //// //// tab | Python 3.8+ En versiones de Python por debajo de 3.9 importas `Annotated` desde `typing_extensions`. Ya estará instalado con FastAPI. ```Python hl_lines="3-4" {!> ../../docs_src/query_params_str_validations/tutorial002_an.py!} ``` //// /// info | Información
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Feb 15 16:23:59 UTC 2025 - 16.5K bytes - Viewed (0) -
docs/de/docs/tutorial/query-params.md
# Query-Parameter Wenn Sie in ihrer Funktion Parameter deklarieren, die nicht Teil der Pfad-Parameter sind, dann werden diese automatisch als „Query“-Parameter interpretiert. {* ../../docs_src/query_params/tutorial001.py hl[9] *} Query-Parameter (Deutsch: Abfrage-Parameter) sind die Schlüssel-Wert-Paare, die nach dem `?` in einer URL aufgelistet sind, getrennt durch `&`-Zeichen. Zum Beispiel sind in der URL: ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 4.8K bytes - Viewed (0) -
docs/fr/docs/advanced/path-operation-advanced-configuration.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } Takes some text or bytes and returns an HTML response, as you read above. ### `PlainTextResponse` { #plaintextresponse } Takes some text or bytes and returns a plain text response. {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *} ### `JSONResponse` { #jsonresponse }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params-numeric-validations.md
/// ```Python hl_lines="7" {!> ../../docs_src/path_params_numeric_validations/tutorial002.py!} ``` //// Aber bedenken Sie, dass Sie dieses Problem nicht haben, wenn Sie `Annotated` verwenden, da Sie nicht die Funktions-Parameter-Defaultwerte für `Query()` oder `Path()` verwenden. {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py39.py hl[10] *} ## Sortieren Sie die Parameter wie Sie möchten: Tricks /// tip | Tipp
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7K bytes - Viewed (0) -
docs/ja/docs/tutorial/testing.md
### **FastAPI** アプリファイル **FastAPI** アプリに `main.py` ファイルがあるとします: {* ../../docs_src/app_testing/main.py *} ### テストファイル 次に、テストを含む `test_main.py` ファイルを作成し、`main` モジュール (`main.py`) から `app` をインポートします: {* ../../docs_src/app_testing/test_main.py *} ## テスト: 例の拡張 次に、この例を拡張し、詳細を追加して、さまざまなパーツをテストする方法を確認しましょう。 ### 拡張版 **FastAPI** アプリファイル **FastAPI** アプリに `main_b.py` ファイルがあるとします。
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.6K bytes - Viewed (0)