- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for function (0.21 sec)
-
docs/en/docs/tutorial/security/first-steps.md
```Python hl_lines="10" {!> ../../../docs_src/security/tutorial001.py!} ``` This dependency will provide a `str` that is assigned to the parameter `token` of the *path operation function*. **FastAPI** will know that it can use this dependency to define a "security scheme" in the OpenAPI schema (and the automatic API docs). !!! info "Technical Details"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/security/first-steps.md
``` そのため、`Depends`と一緒に使うことができます。 ### 使い方 これで`oauth2_scheme`を`Depends`で依存関係に渡すことができます。 ```Python hl_lines="10" {!../../../docs_src/security/tutorial001.py!} ``` この依存関係は、*path operation function*のパラメーター`token`に代入される`str`を提供します。 **FastAPI**は、この依存関係を使用してOpenAPIスキーマ (および自動APIドキュメント) で「セキュリティスキーム」を定義できることを知っています。 !!! info "技術詳細"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/fr/docs/tutorial/first-steps.md
### Étape 4 : définir la **fonction de chemin**. Voici notre "**fonction de chemin**" (ou fonction d'opération de chemin) : * **chemin** : `/`. * **opération** : `get`. * **fonction** : la fonction sous le "décorateur" (sous `@app.get("/")`). ```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial001.py!} ``` C'est une fonction Python.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Sep 27 20:52:31 GMT 2023 - 10.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/first-steps.md
Vamos usar as ferramentas fornecidas pela **FastAPI** para lidar com segurança. ## 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`: ```Python {!../../../docs_src/security/tutorial001.py!} ``` ## Execute-o
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.3K bytes - Viewed (0) -
docs/de/docs/tutorial/security/first-steps.md
```Python hl_lines="10" {!> ../../../docs_src/security/tutorial001.py!} ``` Diese Abhängigkeit stellt einen `str` bereit, der dem Parameter `token` der *Pfadoperation-Funktion* zugewiesen wird. **FastAPI** weiß, dass es diese Abhängigkeit verwenden kann, um ein „Sicherheitsschema“ im OpenAPI-Schema (und der automatischen API-Dokumentation) zu definieren. !!! info "Technische Details"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:07:08 GMT 2024 - 10.3K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
### Step 4: define the **path operation function** This is our "**path operation function**": * **path**: is `/`. * **operation**: is `get`. * **function**: is the function below the "decorator" (below `@app.get("/")`). ```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial001.py!} ``` This is a Python function.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
### Schritt 4: Definieren der **Pfadoperation-Funktion** Das ist unsere „**Pfadoperation-Funktion**“: * **Pfad**: ist `/`. * **Operation**: ist `get`. * **Funktion**: ist die Funktion direkt unter dem „Dekorator“ (unter `@app.get("/")`). ```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial001.py!} ``` Dies ist eine Python-Funktion.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 12:16:22 GMT 2024 - 10.5K bytes - Viewed (0)