Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 681 for Python (0.04 sec)

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

    ## Run it { #run-it }
    
    /// info
    
    The <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a> package is automatically installed with **FastAPI** when you run the `pip install "fastapi[standard]"` command.
    
    However, if you use the `pip install fastapi` command, the `python-multipart` package is not included by default.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. docs/zh-hant/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    
    ### 現代 Python
    
    這一切都基於標準的 **Python 型別**宣告(感謝 Pydantic)。無需學習新的語法,只需使用標準的現代 Python。
    
    如果你需要 2 分鐘來學習如何使用 Python 型別(即使你不使用 FastAPI),可以看看這個簡短的教學:[Python 型別](python-types.md){.internal-link target=_blank}。
    
    如果你寫帶有 Python 型別的程式碼:
    
    ```python
    from datetime import date
    
    from pydantic import BaseModel
    
    # 宣告一個變數為 string
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 10:48:41 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params-numeric-validations.md

    * declare the path parameter `item_id` using `Path`
    * have them in a different order
    * not use `Annotated`
    
    ...Python has a little special syntax for that.
    
    Pass `*`, as the first parameter of the function.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/http-basic-auth.md

    And they send a request with a username `johndoe` and a password `love123`.
    
    Then the Python code in your application would be equivalent to something like:
    
    ```Python
    if "johndoe" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. .github/workflows/label-approved.yml

        steps:
        - name: Dump GitHub context
          env:
            GITHUB_CONTEXT: ${{ toJson(github) }}
          run: echo "$GITHUB_CONTEXT"
        - uses: actions/checkout@v5
        - name: Set up Python
          uses: actions/setup-python@v5
          with:
            python-version: "3.11"
        - name: Setup uv
          uses: astral-sh/setup-uv@v6
          with:
            version: "0.4.15"
            enable-cache: true
            cache-dependency-glob: |
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  6. .github/workflows/topic-repos.yml

          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v5
          - name: Set up Python
            uses: actions/setup-python@v5
            with:
              python-version: "3.11"
          - name: Setup uv
            uses: astral-sh/setup-uv@v6
            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1021 bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/query-params-str-validations.md

    :
    
    ```Python
    q: Union[str, None] = Query(default=None)
    ```
    
    ...⚒ 🔢 📦, 🎏:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    &amp; 🐍 3️⃣.1️⃣0️⃣ &amp; 🔛:
    
    ```Python
    q: str | None = Query(default=None)
    ```
    
    ...⚒ 🔢 📦, 🎏:
    
    ```Python
    q: str | None = None
    ```
    
    ✋️ ⚫️ 📣 ⚫️ 🎯 💆‍♂ 🔢 🔢.
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/encoder.md

    The result of calling it is something that can be encoded with the Python standard <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    It doesn't return a large `str` containing the data in JSON format (as a string). It returns a Python standard data structure (e.g. a `dict`) with values and sub-values that are all compatible with JSON.
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/encoder.md

    O resultado de chamar a função é algo que pode ser codificado com o padrão do Python <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    A função não retorna um grande `str` contendo os dados no formato JSON (como uma string). Mas sim, retorna uma estrutura de dados padrão do Python (por exemplo, um `dict`) com valores e subvalores compatíveis com JSON.
    
    /// note | Nota
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/security/http-basic-auth.md

    ⤴️ 🐍 📟 👆 🈸 🔜 🌓 🕳 💖:
    
    ```Python
    if "johndoe" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    ✋️ ▶️️ 🙍 🐍 🔬 🥇 `j` `johndoe` 🥇 `s` `stanleyjobson`, ⚫️ 🔜 📨 `False`, ↩️ ⚫️ ⏪ 💭 👈 📚 2️⃣ 🎻 🚫 🎏, 💭 👈 "📤 🙅‍♂ 💪 🗑 🌅 📊 ⚖ 🎂 🔤". &amp; 👆 🈸 🔜 💬 "❌ 👩‍💻 ⚖️ 🔐".
    
    ✋️ ⤴️ 👊 🔄 ⏮️ 🆔 `stanleyjobsox` &amp; 🔐 `love123`.
    
    &amp; 👆 🈸 📟 🔨 🕳 💖:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top