Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 873 for Python3 (0.06 sec)

  1. docs/ru/docs/tutorial/body.md

    Первое, что вам необходимо сделать, это импортировать `BaseModel` из пакета `pydantic`:
    
    ```Python hl_lines="4"
    {!../../docs_src/body/tutorial001.py!}
    ```
    
    ## Создание вашей собственной модели
    
    После этого вы описываете вашу модель данных как класс, наследующий от `BaseModel`.
    
    Используйте аннотации типов Python для всех атрибутов:
    
    ```Python hl_lines="7-11"
    {!../../docs_src/body/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. docs/es/docs/async.md

    La mayoría de los framework populares de Python existentes (incluidos Flask y Django) se crearon antes de que existieran las nuevas funciones asíncronas en Python. Por lo tanto, las formas en que pueden implementarse admiten la ejecución paralela y una forma más antigua de ejecución asíncrona que no es tan potente como la actual.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 19 18:15:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/query-param-models.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="9-13  17"
    {!> ../../docs_src/query_param_models/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="8-12  16"
    {!> ../../docs_src/query_param_models/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="10-14  18"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 09:53:14 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/path-params.md

    ↩️ *➡ 🛠️* 🔬 ✔, 👆 💪 ⚒ 💭 👈 ➡ `/users/me` 📣 ⏭ 1️⃣ `/users/{user_id}`:
    
    ```Python hl_lines="6  11"
    {!../../docs_src/path_params/tutorial003.py!}
    ```
    
    ⏪, ➡ `/users/{user_id}` 🔜 🏏 `/users/me`, "💭" 👈 ⚫️ 📨 🔢 `user_id` ⏮️ 💲 `"me"`.
    
    ➡, 👆 🚫🔜 ↔ ➡ 🛠️:
    
    ```Python hl_lines="6  11"
    {!../../docs_src/path_params/tutorial003b.py!}
    ```
    
    🥇 🕐 🔜 🕧 ⚙️ ↩️ ➡ 🏏 🥇.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/custom-response.md

    ```Python hl_lines="1  18"
    {!../../docs_src/response_directly/tutorial002.py!}
    ```
    
    ### `HTMLResponse`
    
    Usa algum texto ou sequência de bytes e retorna uma resposta HTML. Como você leu acima.
    
    ### `PlainTextResponse`
    
    Usa algum texto ou sequência de bytes para retornar uma resposta de texto não formatado.
    
    ```Python hl_lines="2  7  9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:47:10 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/dependencies/global-dependencies.md

    Nesse caso, elas serão aplicadas a todas as *operações de rota* da aplicação:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="16"
    {!> ../../docs_src/dependencies/tutorial012_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="16"
    {!> ../../docs_src/dependencies/tutorial012_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8 non-Annotated
    
    /// tip | "Dica"
    
    Utilize a versão com `Annotated` se possível.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. docs/yo/docs/index.md

    O ṣe ìyẹn pẹ̀lú irúfẹ́ àmì ìtọ́kasí ìgbàlódé Python.
    
    O ò nílò láti kọ́ síńtáàsì tuntun, ìlànà tàbí ọ̀wọ́ kíláàsì kan pàtó, abbl (i.e. àti bẹbẹ lọ).
    
    Ìtọ́kasí **Python**
    
    Fún àpẹẹrẹ, fún `int`:
    
    ```Python
    item_id: int
    ```
    
    tàbí fún àwòṣe `Item` tí ó nira díẹ̀ síi:
    
    ```Python
    item: Item
    ```
    
    ... àti pẹ̀lú ìkéde kan ṣoṣo yẹn ìwọ yóò gbà:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. docs/tr/docs/alternatives.md

    > Requests, tüm zamanların en çok indirilen Python  <abbr title="Paket: Package">paketlerinden</abbr> biridir.
    
    Kullanım şekli oldukça basit. Örneğin bir `GET` isteği yapmak için aşağıdaki yeterli:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Bunun FastAPI'deki API <abbr title="Yol İşlemi: Path Operation">*yol işlemi*</abbr> şöyle görünür:
    
    ```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
    - 28.8K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/bigger-applications.md

    │   └── routers          # „routers“ ist ein „Python-Subpackage“
    │   │   ├── __init__.py  # macht „routers“ zu einem „Python-Subpackage“
    │   │   ├── items.py     # „items“-Submodul, z. B. import app.routers.items
    │   │   └── users.py     # „users“-Submodul, z. B. import app.routers.users
    │   └── internal         # „internal“ ist ein „Python-Subpackage“
    │       ├── __init__.py  # macht „internal“ zu einem „Python-Subpackage“
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/request-files.md

    👆 💪 🔬 📁 📂 👩‍💻 ⚙️ `File`.
    
    /// info
    
    📨 📂 📁, 🥇 ❎ <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    🤶 Ⓜ. `pip install python-multipart`.
    
    👉 ↩️ 📂 📁 📨 "📨 💽".
    
    ///
    
    ## 🗄 `File`
    
    🗄 `File` &amp; `UploadFile` ⚪️➡️ `fastapi`:
    
    ```Python hl_lines="1"
    {!../../docs_src/request_files/tutorial001.py!}
    ```
    
    ## 🔬 `File` 🔢
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top