- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 785 for py (0.01 sec)
-
docs/pt/docs/tutorial/security/first-steps.md
## Como Parece Vamos primeiro usar o código e ver como funciona, e depois voltaremos para entender o que está acontecendo. ## Crie um `main.py` Copie o exemplo em um arquivo `main.py`: {* ../../docs_src/security/tutorial001.py *} ## Execute-o /// info | informação ///Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/en/docs/tutorial/response-status-code.md
Let's see the previous example again: {* ../../docs_src/response_status_code/tutorial001.py hl[6] *} `201` is the status code for "Created". But you don't have to memorize what each of these codes mean. You can use the convenience variables from `fastapi.status`. {* ../../docs_src/response_status_code/tutorial002.py hl[1,6] *}Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4K bytes - Viewed (0) -
docs/es/docs/advanced/dataclasses.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/ja/docs/tutorial/schema-extra-example.md
{* ../../docs_src/schema_extra_example/tutorial001.py hl[15,16,17,18,19,20,21,22,23] *} その追加情報はそのまま出力され、JSON Schemaに追加されます。 ## `Field`の追加引数 後述する`Field`、`Path`、`Query`、`Body`などでは、任意の引数を関数に渡すことでJSON Schemaの追加情報を宣言することもできます: {* ../../docs_src/schema_extra_example/tutorial002.py hl[4,10,11,12,13] *} /// warning | 注意 これらの追加引数が渡されても、文書化のためのバリデーションは追加されず、注釈だけが追加されることを覚えておいてください。Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/pt/docs/advanced/dataclasses.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/sub-dependencies.md
**FastAPI** se encargará de resolverlas. ## Primera dependencia "dependable" Podrías crear una primera dependencia ("dependable") así: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *} Declara un parámetro de query opcional `q` como un `str`, y luego simplemente lo devuelve. Esto es bastante simple (no muy útil), pero nos ayudará a centrarnos en cómo funcionan las sub-dependencias.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 3.7K bytes - Viewed (0) -
docs/ko/docs/advanced/middlewares.md
들어오는 모든 요청이 `https` 또는 `wss`여야 합니다. `http` 또는 `ws`로 들어오는 모든 요청은 대신 보안 체계로 리디렉션됩니다. {* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *} ## `TrustedHostMiddleware` HTTP 호스트 헤더 공격을 방지하기 위해 모든 수신 요청에 올바르게 설정된 `Host` 헤더를 갖도록 강제합니다. {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *} 다음 인수가 지원됩니다:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Nov 26 22:35:09 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/pt/docs/advanced/additional-responses.md
Por exemplo, para declarar um outro retorno com o status code `404` e um modelo do Pydantic chamado `Message`, você pode escrever: {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *} /// note | Nota Lembre-se que você deve retornar o `JSONResponse` diretamente. /// /// info | Informação A chave `model` não é parte do OpenAPI.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/de/docs/how-to/custom-docs-ui-assets.md
Nehmen wir an, die Dateistruktur Ihres Projekts sieht folgendermaßen aus: ``` . ├── app │ ├── __init__.py │ ├── main.py ``` Erstellen Sie jetzt ein Verzeichnis zum Speichern dieser statischen Dateien. Ihre neue Dateistruktur könnte so aussehen: ``` . ├── app │ ├── __init__.py │ ├── main.py └── static/ ``` ### Die Dateien herunterladen
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Apr 28 18:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
Let's say your project file structure looks like this: ``` . ├── app │ ├── __init__.py │ ├── main.py ``` Now create a directory to store those static files. Your new file structure could look like this: ``` . ├── app │ ├── __init__.py │ ├── main.py └── static/ ``` ### Download the files { #download-the-files }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0)