- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for function (0.15 sec)
-
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/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/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)