Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 728 for Python (0.17 sec)

  1. docs/ko/docs/tutorial/dependencies/index.md

    의존성에 집중해 봅시다.
    
    *경로 작동 함수*가 가질 수 있는 모든 매개변수를 갖는 단순한 함수입니다:
    
    === "Python 3.10+"
    
        ```Python hl_lines="8-9"
        {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="8-11"
        {!> ../../../docs_src/dependencies/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9-12"
        {!> ../../../docs_src/dependencies/tutorial001_an.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/query-params.md

    Auf die gleiche Weise können Sie optionale Query-Parameter deklarieren, indem Sie deren Defaultwert auf `None` setzen:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params/tutorial002.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 25 14:53:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/debugging.md

    所以,下面这一行不会被执行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    !!! info
        更多信息请检查 <a href="https://docs.python.org/3/library/__main__.html" class="external-link" target="_blank">Python 官方文档</a>.
    
    ## 使用你的调试器运行代码
    
    由于是从代码直接运行的 Uvicorn 服务器,所以你可以从调试器直接调用 Python 程序(你的 FastAPI 应用)。
    
    ---
    
    例如,你可以在 Visual Studio Code 中:
    
    * 进入到「调试」面板。
    * 「添加配置...」。
    * 选中「Python」
    * 运行「Python:当前文件(集成终端)」选项的调试器。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 27 17:51:51 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/testing.md

    Обе *операции пути* требуют наличия в запросе заголовка `X-Token`.
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    重要なのは、依存関係が「呼び出し可能」なものであることです。
    
    Pythonにおける「**呼び出し可能**」とは、Pythonが関数のように「呼び出す」ことができるものを指します。
    
    そのため、`something`オブジェクト(関数ではないかもしれませんが)を持っていて、それを次のように「呼び出す」(実行する)ことができるとします:
    
    ```Python
    something()
    ```
    
    または
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    これを「呼び出し可能」なものと呼びます。
    
    ## 依存関係としてのクラス
    
    Pythonのクラスのインスタンスを作成する際に、同じ構文を使用していることに気づくかもしれません。
    
    例えば:
    
    ```Python
    class Cat:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/bigger-applications.md

    === "Python 3.9+"
    
        ```Python hl_lines="3  6-8" title="app/dependencies.py"
        {!> ../../../docs_src/bigger_applications/app_an_py39/dependencies.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  5-7" title="app/dependencies.py"
        {!> ../../../docs_src/bigger_applications/app_an/dependencies.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:59 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/security/first-steps.md

    ## Создание `main.py`
    
    Скопируйте пример в файл `main.py`:
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ без Annotated"
    
        !!! tip "Подсказка"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/websockets.md

    === "Python 3.10+"
    
        ```Python hl_lines="68-69  82"
        {!> ../../../docs_src/websockets/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="68-69  82"
        {!> ../../../docs_src/websockets/tutorial002_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="69-70  83"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/websockets.md

    * `Query`
    
    它们的工作方式与其他 FastAPI 端点/ *路径操作* 相同:
    
    === "Python 3.10+"
    
        ```Python hl_lines="68-69  82"
        {!> ../../../docs_src/websockets/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="68-69  82"
        {!> ../../../docs_src/websockets/tutorial002_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="69-70  83"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/path-params.md

    Luego crea atributos de clase con valores fijos, que serán los valores disponibles válidos:
    
    ```Python hl_lines="1  6-9"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! info "Información"
        Las <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">Enumerations (o enums) están disponibles en Python</a> desde la versión 3.4.
    
    !!! tip "Consejo"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top