Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 895 for python (0.08 sec)

  1. docs/zh-hant/docs/index.md

    ### 總結
    
    總結來說, 你就像宣告函式的參數型別一樣,只宣告了一次請求參數和請求主體參數等型別。
    
    你使用 Python 標準型別來完成聲明。
    
    你不需要學習新的語法、類別、方法或函式庫等等。
    
    只需要使用 **Python 以上的版本**。
    
    舉個範例,比如宣告 int 的型別:
    
    ```Python
    item_id: int
    ```
    
    或是一個更複雜的 `Item` 模型:
    
    ```Python
    item: Item
    ```
    
    在進行一次宣告後,你將獲得:
    
    - 編輯器支援:
        - 自動補全
        - 型別檢查
    - 資料驗證:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  2. docs/de/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Mach Sie hier etwas Asynchrones, um die Burger zu erstellen
        return burgers
    ```
    
    ... statt mit `def`:
    
    ```Python hl_lines="2"
    # Die ist nicht asynchron
    def get_sequential_burgers(number: int):
        # Mach Sie hier etwas Sequentielles, um die Burger zu erstellen
        return burgers
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. .github/workflows/label-approved.yml

        steps:
        - name: Dump GitHub context
          env:
            GITHUB_CONTEXT: ${{ toJson(github) }}
          run: echo "$GITHUB_CONTEXT"
        - uses: actions/checkout@v4
        - name: Set up Python
          uses: actions/setup-python@v5
          with:
            python-version: "3.11"
        - name: Setup uv
          uses: astral-sh/setup-uv@v3
          with:
            version: "0.4.15"
            enable-cache: true
            cache-dependency-glob: |
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 13:58:30 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. docs/en/docs/alternatives.md

    That's why, as said in the official website:
    
    > Requests is one of the most downloaded Python packages of all time
    
    The way you use it is very simple. For example, to do a `GET` request, you would write:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    The FastAPI counterpart API *path operation* could look like:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. docs/de/docs/how-to/graphql.md

        * Mit <a href="https://tartiflette.github.io/tartiflette-asgi/" class="external-link" target="_blank">Tartiflette ASGI</a>, für ASGI-Integration
    * <a href="https://graphene-python.org/" class="external-link" target="_blank">Graphene</a>
        * Mit <a href="https://github.com/ciscorn/starlette-graphene3" class="external-link" target="_blank">starlette-graphene3</a>
    
    ## GraphQL mit Strawberry
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/setup.sources.sh

    # limitations under the License.
    # ==============================================================================
    #
    # setup.python.sh: Install a specific Python version and packages for it.
    # Usage: setup.python.sh <pyversion> <requirements.txt>
    
    # Sets up custom apt sources for our TF images.
    
    # Prevent apt install tzinfo from asking our location (assumes UTC)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jul 10 18:56:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/request-forms-and-files.md

    예 ) `pip install python-multipart`.
    
    ///
    
    ## `File` 및 `Form` 업로드
    
    ```Python hl_lines="1"
    {!../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    ## `File` 및 `Form` 매개변수 정의
    
    `Body` 및 `Query`와 동일한 방식으로 파일과 폼의 매개변수를 생성합니다:
    
    ```Python hl_lines="8"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/generate-clients.md

    ## 🏗 📕 🕸 👩‍💻
    
    ➡️ ▶️ ⏮️ 🙅 FastAPI 🈸:
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; 🔛
    
    ```Python hl_lines="9-11  14-15  18  19  23"
    {!> ../../docs_src/generate_clients/tutorial001.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.9️⃣ &amp; 🔛
    
    ```Python hl_lines="7-9  12-13  16-17  21"
    {!> ../../docs_src/generate_clients/tutorial001_py39.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/body-multiple-params.md

    繰り返しになりますが、データ型の変換、検証、文書化などを行います。
    
    ## 複数のボディパラメータとクエリ
    
    もちろん、ボディパラメータに加えて、必要に応じて追加のクエリパラメータを宣言することもできます。
    
    デフォルトでは、単数値はクエリパラメータとして解釈されるので、明示的に `Query` を追加する必要はありません。
    
    ```Python
    q: str = None
    ```
    
    以下において:
    
    ```Python hl_lines="27"
    {!../../docs_src/body_multiple_params/tutorial004.py!}
    ```
    
    /// info | "情報"
    
    `Body`もまた、後述する `Query` や `Path` などと同様に、すべての検証パラメータとメタデータパラメータを持っています。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. ci/official/README.md

    #   "rbe", if you have set up your system to use RBE (see further below).
    #
    # Here is how to choose your TFCI value:
    # 1. A Python version must come first, because other scripts reference it.
    #      Ex. py39  -- Python 3.9
    #      Ex. py310 -- Python 3.10
    #      Ex. py311 -- Python 3.11
    #      Ex. py312 -- Python 3.12
    # 2. Choose the platform, which corresponds to the version of TensorFlow to
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top