Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for tip (0.27 sec)

  1. docs/en/docs/tutorial/security/first-steps.md

        {!> ../../../docs_src/security/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="6"
        {!> ../../../docs_src/security/tutorial001.py!}
        ```
    
    !!! tip
        Here `tokenUrl="token"` refers to a relative URL `token` that we haven't created yet. As it's a relative URL, it's equivalent to `./token`.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/first-steps.md

        {!> ../../../docs_src/security/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="6"
        {!> ../../../docs_src/security/tutorial001.py!}
        ```
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:07:08 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/first-steps.md

        它是一个「**路径操作装饰器**」。
    
    你也可以使用其他的操作:
    
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    
    以及更少见的:
    
    * `@app.options()`
    * `@app.head()`
    * `@app.patch()`
    * `@app.trace()`
    
    !!! tip
        您可以随意使用任何一个操作(HTTP方法)。
    
        **FastAPI** 没有强制要求操作有任何特定的含义。
    
        此处提供的信息仅作为指导,而不是要求。
    
        比如,当使用 GraphQL 时通常你所有的动作都通过 `post` 一种方法执行。
    
    ### 步骤 4:定义**路径操作函数**
    
    这是我们的「**路径操作函数**」:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.2K bytes
    - Viewed (0)
  4. docs/pl/docs/tutorial/first-steps.md

    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    
    Oraz tych bardziej egzotycznych:
    
    * `@app.options()`
    * `@app.head()`
    * `@app.patch()`
    * `@app.trace()`
    
    !!! tip
        Możesz dowolnie używać każdej operacji (metody HTTP).
    
        **FastAPI** nie narzuca żadnego konkretnego znaczenia.
    
        Informacje tutaj są przedstawione jako wskazówka, a nie wymóg.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/security/first-steps.md

    `OAuth2PasswordBearer` クラスのインスタンスを作成する時に、パラメーター`tokenUrl`を渡します。このパラメーターには、クライアント (ユーザーのブラウザで動作するフロントエンド) がトークンを取得するために`ユーザー名`と`パスワード`を送信するURLを指定します。
    
    ```Python hl_lines="6"
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    !!! tip "豆知識"
        ここで、`tokenUrl="token"`は、まだ作成していない相対URL`token`を指します。相対URLなので、`./token`と同じです。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. docs/vi/docs/tutorial/first-steps.md

    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    
    Và nhiều hơn với các toán tử còn lại:
    
    * `@app.options()`
    * `@app.head()`
    * `@app.patch()`
    * `@app.trace()`
    
    !!! tip
        Bạn thoải mái sử dụng mỗi toán tử (phương thức HTTP) như bạn mơ ước.
    
        **FastAPI** không bắt buộc bất kì ý nghĩa cụ thể nào.
    
        Thông tin ở đây được biểu thị như là một chỉ dẫn, không phải là một yêu cầu bắt buộc.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/security/first-steps.md

        {!> ../../../docs_src/security/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ без Annotated"
    
        !!! tip "Подсказка"
            Предпочтительнее использовать версию с аннотацией, если это возможно.
    
        ```Python hl_lines="6"
        {!> ../../../docs_src/security/tutorial001.py!}
        ```
    
    !!! tip "Подсказка"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/security/first-steps.md

        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            尽可能选择使用 `Annotated` 的版本。
    
        ```Python
        {!> ../../../docs_src/security/tutorial001.py!}
        ```
    
    ## 运行
    
    !!! info "说明"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/security/first-steps.md

    ```Python hl_lines="6"
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    !!! tip "Dica"
    	Esse `tokenUrl="token"` se refere a uma URL relativa que nós não criamos ainda. Como é uma URL relativa, é equivalente a `./token`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. docs/tr/docs/tutorial/first-steps.md

    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    
    Daha az kullanılanları da kullanabilirsiniz:
    
    * `@app.options()`
    * `@app.head()`
    * `@app.patch()`
    * `@app.trace()`
    
    !!! tip "İpucu"
        Her işlemi (HTTP metod) istediğiniz gibi kullanmakta özgürsünüz.
    
        **FastAPI** herhangi bir özel amacı veya anlamı olması konusunda ısrarcı olmaz.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Feb 08 13:10:55 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top