- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 161 for Papp (1.02 sec)
-
docs/pt/docs/async.md
```Python results = await some_library() ``` Então, declare sua *função de operação de rota* com `async def` como: ```Python hl_lines="2" @app.get('/') async def read_results(): results = await some_library() return results ``` !!! note Você só pode usar `await` dentro de funções criadas com `async def`. ---
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 22.2K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13K bytes - Viewed (0) -
docs/fr/docs/async.md
```Python results = await some_library() ``` Alors, déclarez vos *fonctions de chemins* avec `async def` comme ceci : ```Python hl_lines="2" @app.get('/') async def read_results(): results = await some_library() return results ``` !!! note Vous pouvez uniquement utiliser `await` dans les fonctions créées avec `async def`. ---
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 24K bytes - Viewed (0) -
docs/ja/docs/async.md
次のような、`await` を使用して呼び出すべきサードパーティライブラリを使用している場合: ```Python results = await some_library() ``` 以下の様に `async def` を使用して*path operation 関数*を宣言します。 ```Python hl_lines="2" @app.get('/') async def read_results(): results = await some_library() return results ``` !!! note "備考" `async def` を使用して作成された関数の内部でしか `await` は使用できません。 ---
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 27.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/index.md
``` **И всё.** **2 строки.** И теперь она той же формы и структуры, что и все ваши *функции обработки пути*. Вы можете думать об *функции обработки пути* как о функции без "декоратора" (без `@app.get("/some-path")`). И она может возвращать всё, что требуется. В этом случае, эта зависимость ожидает: * Необязательный query-параметр `q` с типом `str`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.7K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/index.md
``` Das war's schon. **Zwei Zeilen**. Und sie hat die gleiche Form und Struktur wie alle Ihre *Pfadoperation-Funktionen*. Sie können sie sich als *Pfadoperation-Funktion* ohne den „Dekorator“ (ohne `@app.get("/some-path")`) vorstellen. Und sie kann alles zurückgeben, was Sie möchten. In diesem Fall erwartet diese Abhängigkeit: * Einen optionalen Query-Parameter `q`, der ein `str` ist.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:01:10 GMT 2024 - 13.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/security/first-steps.md
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/contributing.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jun 11 21:38:15 GMT 2023 - 14.9K bytes - Viewed (0) -
docs/ja/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` 対応するFastAPIのパスオペレーションはこのようになります: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` `requests.get(...)` と`@app.get(...)` には類似点が見受けられます。 !!! check "**FastAPI**へ与えたインスピレーション" * シンプルで直感的なAPIを持っている点。 * HTTPメソッド名を直接利用し、単純で直感的である。 * 適切なデフォルト値を持ちつつ、強力なカスタマイズ性を持っている。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 31.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/first-steps.md
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)