Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 860 for Pythona (0.08 sec)

  1. docs/uk/docs/index.md

    Ви робите це за допомогою стандартних сучасних типів Python.
    
    Вам не потрібно вивчати новий синтаксис, методи чи класи конкретної бібліотеки тощо.
    
    Використовуючи стандартний **Python**.
    
    Наприклад, для `int`:
    
    ```Python
    item_id: int
    ```
    
    або для більш складної моделі `Item`:
    
    ```Python
    item: Item
    ```
    
    ...і з цим єдиним оголошенням Ви отримуєте:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    🖼, 👆 💪 ⚙️ 👉 ✍ 💽 🎉 & 🔐 ⚫️ ⏮️ 🏁.
    
    🕴 📟 ⏭ & 🔌 `yield` 📄 🛠️ ⏭ 📨 📨:
    
    ```Python hl_lines="2-4"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    🌾 💲 ⚫️❔ 💉 🔘 *➡ 🛠️* & 🎏 🔗:
    
    ```Python hl_lines="4"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    📟 📄 `yield` 📄 🛠️ ⏮️ 📨 ✔️ 🚚:
    
    ```Python hl_lines="5-6"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    /// tip
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/path-operation-configuration.md

    `tags` 参数的值是由 `str` 组成的 `list` (一般只有一个 `str` ),`tags` 用于为*路径操作*添加标签:
    
    ```Python hl_lines="17  22  27"
    {!../../docs_src/path_operation_configuration/tutorial002.py!}
    ```
    
    OpenAPI 概图会自动添加标签,供 API 文档接口使用:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ## `summary` 和 `description` 参数
    
    路径装饰器还支持 `summary` 和 `description` 这两个参数:
    
    ```Python hl_lines="20-21"
    {!../../docs_src/path_operation_configuration/tutorial003.py!}
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Die Datei `main.py` hätte als Inhalt:
    
    ```Python
    {!../../docs_src/async_tests/main.py!}
    ```
    
    Die Datei `test_main.py` hätte die Tests für `main.py`, das könnte jetzt so aussehen:
    
    ```Python
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    ## Es ausführen
    
    Sie können Ihre Tests wie gewohnt ausführen mit:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    The file `main.py` would have:
    
    ```Python
    {!../../docs_src/async_tests/main.py!}
    ```
    
    The file `test_main.py` would have the tests for `main.py`, it could look like this now:
    
    ```Python
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    ## Run it
    
    You can run your tests as usual via:
    
    <div class="termy">
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/handling-errors.md

    ## `HTTPException`の使用
    
    HTTPレスポンスをエラーでクライアントに返すには、`HTTPException`を使用します。
    
    ### `HTTPException`のインポート
    
    ```Python hl_lines="1"
    {!../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    ### コード内での`HTTPException`の発生
    
    `HTTPException`は通常のPythonの例外であり、APIに関連するデータを追加したものです。
    
    Pythonの例外なので、`return`ではなく、`raise`です。
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. docs/pt/docs/contributing.md

    ### Ambiente virtual com `venv`
    
    Você pode criar um ambiente virtual em um diretório utilizando o módulo `venv` do Python:
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    Isso criará o diretório `./env/` com os binários Python e então você será capaz de instalar pacotes nesse ambiente isolado.
    
    ### Ativar o ambiente
    
    Ative o novo ambiente com:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. docs/pt/docs/how-to/configure-swagger-ui.md

    Inclui estas configurações padrão:
    
    ```Python
    {!../../fastapi/openapi/docs.py[ln:7-23]!}
    ```
    
    Você pode substituir qualquer um deles definindo um valor diferente no argumento `swagger_ui_parameters`.
    
    Por exemplo, para desabilitar `deepLinking` você pode passar essas configurações para `swagger_ui_parameters`:
    
    ```Python hl_lines="3"
    {!../../docs_src/configure_swagger_ui/tutorial003.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/dependencies/global-dependencies.md

    В этом случае они будут применяться ко всем *операциям пути* в приложении:
    
    //// 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 | "Подсказка"
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. docs/bn/docs/index.md

    আপনি সেটি আধুনিক পাইথনের সাথে করেন।
    
    আপনাকে নতুন করে নির্দিষ্ট কোন লাইব্রেরির বাক্য গঠন, ফাংশন বা ক্লাস কিছুই শিখতে হচ্ছে না।
    
    শুধুই আধুনিক **Python 3.6+**
    
    উদাহরণস্বরূপ, `int` এর জন্য:
    
    ```Python
    item_id: int
    ```
    
    অথবা আরও জটিল `Item` মডেলের জন্য:
    
    ```Python
    item: Item
    ```
    
    ...এবং সেই একই ঘোষণার সাথে আপনি পাবেন:
    
    - এডিটর সাহায্য, যেমন
      - সমাপ্তি।
      - ধরণ যাচাই
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top