Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 161 for Papp (1.02 sec)

  1. 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)
  2. docs/en/docs/tutorial/security/oauth2-jwt.md

        And your users would be able to login from your Django app or from your **FastAPI** app, at the same time.
    
    ## Hash and verify the passwords
    
    Import the tools we need from `passlib`.
    
    Create a PassLib "context". This is what will be used to hash and verify passwords.
    
    !!! tip
    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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. docs/ja/docs/tutorial/security/first-steps.md

        例えば、`pip install python-multipart`。
    
        これは、**OAuth2**が `ユーザー名` や `パスワード` を送信するために、「フォームデータ」を使うからです。
    
    例を実行します:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    ## 確認
    
    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)
  8. docs/pt/docs/contributing.md

    ```
    
    </div>
    
    ### Aplicações e documentação ao mesmo tempo
    
    Se você rodar os exemplos com, por exemplo:
    
    <div class="termy">
    
    ```console
    $ uvicorn tutorial001:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    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)
  9. 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)
  10. docs/ko/docs/tutorial/first-steps.md

        이것이 "**경로 작동 데코레이터**"입니다.
    
    다른 작동도 사용할 수 있습니다:
    
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    
    흔히 사용되지 않는 것들도 있습니다:
    
    * `@app.options()`
    * `@app.head()`
    * `@app.patch()`
    * `@app.trace()`
    
    !!! tip "팁"
        각 작동(HTTP 메소드)을 원하는 대로 사용해도 됩니다.
    
        **FastAPI**는 특정 의미를 강제하지 않습니다.
    
        여기서 정보는 지침서일뿐 강제사항이 아닙니다.
    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)
Back to top