Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 74 for buyers (0.32 sec)

  1. docs/fr/docs/async.md

    #### Burgers parallèles
    
    Imaginons désormais que ce ne sont pas des "burgers concurrents" mais des "burgers parallèles".
    
    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)
  2. docs/pt/docs/async.md

    ```Python
    # Isso não irá funcionar, porquê get_burgers foi definido com: async def
    burgers = get_burgers(2)
    ```
    
    ---
    
    Então, se você está usando uma biblioteca que diz que você pode chamá-la com `await`, você precisa criar as *funções de operação de rota* com `async def`, como em:
    
    ```Python hl_lines="2 3"
    @app.get('/burgers')
    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    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)
  3. docs/en/docs/tutorial/bigger-applications.md

    │   │   └── users.py     # "users" submodule, e.g. import app.routers.users
    │   └── internal         # "internal" is a "Python subpackage"
    │       ├── __init__.py  # makes "internal" a "Python subpackage"
    │       └── admin.py     # "admin" submodule, e.g. import app.internal.admin
    ```
    
    ## `APIRouter`
    
    Let's say the file dedicated to handling just users is the submodule at `/app/routers/users.py`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/bigger-applications.md

    │   │   ├── items.py     # 「items」子模块,例如 import app.routers.items
    │   │   └── users.py     # 「users」子模块,例如 import app.routers.users
    │   └── internal         # 「internal」是一个「Python 子包」
    │       ├── __init__.py  # 使「internal」成为一个「Python 子包」
    │       └── admin.py     # 「admin」子模块,例如 import app.internal.admin
    ```
    
    ## `APIRouter`
    
    假设专门用于处理用户逻辑的文件是位于 `/app/routers/users.py` 的子模块。
    
    你希望将与用户相关的*路径操作*与其他代码分开,以使其井井有条。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  5. docs/ja/docs/async.md

    結果を返す前に待機する必要があり、これらの新しいPython機能をサポートする操作がある場合は、次のようにコーディングできます。
    
    ```Python
    burgers = await get_burgers(2)
    ```
    
    カギは `await` です。結果を `burgers`に保存する前に、`get_burgers(2)`の処理🕙の完了を待つ⏸必要があることをPythonに伝えます。これでPythonは、その間に (別のリクエストを受信するなど) 何か他のことができる🔀⏯ことを知ります。
    
    `await` が機能するためには、非同期処理をサポートする関数内にある必要があります。これは、`async def` で関数を宣言するだけでよいです:
    
    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # ハンバーガーを作成するために非同期処理を実行
        return burgers
    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)
  6. docs/en/docs/fastapi-people.md

    * Review Pull Requests, [especially important for translations](contributing.md#translations){.internal-link target=_blank}.
    
    A round of applause to them. 👏 🙇
    
    ## FastAPI Experts
    
    These are the users that have been [helping others the most with questions in GitHub](help-fastapi.md#help-others-with-questions-in-github){.internal-link target=_blank}. 🙇
    
    They have proven to be **FastAPI Experts** by helping many others. ✨
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 16 23:54:24 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/path-params.md

    Etwa `/users/me`, um Daten über den aktuellen Benutzer zu erhalten.
    
    Und Sie haben auch einen Pfad `/users/{user_id}`, um Daten über einen spezifischen Benutzer zu erhalten, mittels einer Benutzer-ID.
    
    Weil *Pfadoperationen* in ihrer Reihenfolge ausgewertet werden, müssen Sie sicherstellen, dass der Pfad `/users/me` vor `/users/{user_id}` deklariert wurde:
    
    ```Python hl_lines="6  11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/oauth2-jwt.md

    But you cannot convert from the gibberish back to the password.
    
    ### Why use password hashing
    
    If your database is stolen, the thief won't have your users' plaintext passwords, only the hashes.
    
    So, the thief won't be able to try to use that password in another system (as many users use the same password everywhere, this would be dangerous).
    
    ## Install `passlib`
    
    PassLib is a great Python package to handle password hashes.
    
    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)
  9. docs/ru/docs/tutorial/dependencies/index.md

    * Назначении результата в параметр в вашей *функции обработки пути*.
    
    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    Таким образом, вы пишете общий код один раз, и **FastAPI** позаботится о его вызове для ваших *операций с путями*.
    
    !!! check "Проверка"
    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)
  10. docs/de/docs/tutorial/dependencies/index.md

    * Dieses Ergebnis dem Parameter Ihrer *Pfadoperation-Funktion* zuzuweisen.
    
    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    Auf diese Weise schreiben Sie gemeinsam genutzten Code nur einmal, und **FastAPI** kümmert sich darum, ihn für Ihre *Pfadoperationen* aufzurufen.
    
    !!! check
    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)
Back to top