Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1901 - 1910 of 1,989 for py$ (0.03 sec)

  1. docs/bn/docs/index.md

    </div>
    
    <details markdown="1">
    <summary>নির্দেশনা সম্পর্কে <code>uvicorn main:app --reload</code>...</summary>
    
    `uvicorn main:app` নির্দেশনাটি দ্বারা বোঝায়:
    
    - `main`: ফাইল `main.py` (পাইথন "মডিউল")।
    - `app`: `app = FastAPI()` লাইন দিয়ে `main.py` এর ভিতরে তৈরি করা অবজেক্ট।
    - `--reload`: কোড পরিবর্তনের পরে সার্ভার পুনরায় চালু করুন। এটি শুধুমাত্র ডেভেলপমেন্ট এর সময় ব্যবহার করুন।
    
    </details>
    
    ### এটা চেক করুন
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. docs/hu/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>A parancsról <code>uvicorn main:app --reload</code>...</summary>
    
    A `uvicorn main:app` parancs a következőre utal:
    
    * `main`: fájl `main.py` (a Python "modul").
    * `app`: a `main.py`-ban a `app = FastAPI()` sorral létrehozott objektum.
    * `--reload`: kód változtatás esetén újra indítja a szervert. Csak fejlesztés közben használandó.
    
    </details>
    
    ### Ellenőrizd
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. docs/pt/docs/index.md

    </div>
    
    <details markdown="1">
    <summary>Sobre o comando <code>uvicorn main:app --reload</code>...</summary>
    
    O comando `uvicorn main:app` se refere a:
    
    * `main`: o arquivo `main.py` (o "módulo" Python).
    * `app`: o objeto criado dentro de `main.py` com a linha `app = FastAPI()`.
    * `--reload`: faz o servidor recarregar após mudanças de código. Somente faça isso para desenvolvimento.
    
    </details>
    
    ### Verifique
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. docs/es/docs/index.md

    </div>
    
    <details markdown="1">
    <summary>Sobre el comando <code>uvicorn main:app --reload</code>...</summary>
    
    El comando `uvicorn main:app` se refiere a:
    
    * `main`: el archivo `main.py` (el"modulo" de Python).
    * `app`: el objeto creado dentro de `main.py` con la línea `app = FastAPI()`.
    * `--reload`: hace que el servidor se reinicie después de cambios en el código. Esta opción solo debe ser usada en desarrollo.
    
    </details>
    
    ### Revísalo
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. docs/ko/docs/advanced/wsgi.md

    ## `WSGIMiddleware` 사용하기
    
    `WSGIMiddleware`를 불러와야 합니다.
    
    그런 다음, WSGI(예: Flask) 응용 프로그램을 미들웨어로 포장합니다.
    
    그 후, 해당 경로에 마운트합니다.
    
    ```Python hl_lines="2-3  23"
    {!../../docs_src/wsgi/tutorial001.py!}
    ```
    
    ## 확인하기
    
    이제 `/v1/` 경로에 있는 모든 요청은 Flask 응용 프로그램에서 처리됩니다.
    
    그리고 나머지는 **FastAPI**에 의해 처리됩니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 18:56:37 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. docs/em/docs/how-to/graphql.md

    ⚓️ 🔛 👆 ⚙️ 💼, 👆 5️⃣📆 💖 ⚙️ 🎏 🗃, ✋️ 🚥 👆 💭 👤, 👤 🔜 🎲 🤔 👆 🔄 **🍓**.
    
    📥 🤪 🎮 ❔ 👆 💪 🛠️ 🍓 ⏮️ FastAPI:
    
    ```Python hl_lines="3  22  25-26"
    {!../../docs_src/graphql/tutorial001.py!}
    ```
    
    👆 💪 💡 🌅 🔃 🍓 <a href="https://strawberry.rocks/" class="external-link" target="_blank">🍓 🧾</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

    # have passed Google's internal style guidelines.
    @test "Check pylint for Python files" {
        echo "Python formatting is recommended. Here are the pylint errors:"
        echo "============================="
        grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/using-request-directly.md

    但在某些特定情况下,还是需要提取 `Request` 对象。
    
    ## 直接使用 `Request` 对象
    
    假设要在*路径操作函数*中获取客户端 IP 地址和主机。
    
    此时,需要直接访问请求。
    
    ```Python hl_lines="1  7-8"
    {!../../docs_src/using_request_directly/tutorial001.py!}
    ```
    
    把*路径操作函数*的参数类型声明为 `Request`,**FastAPI** 就能把 `Request` 传递到参数里。
    
    /// tip | "提示"
    
    注意,本例除了声明请求参数之外,还声明了路径参数。
    
    因此,能够提取、验证路径参数、并转换为指定类型,还可以用 OpenAPI 注释。
    
    同样,您也可以正常声明其它参数,而且还可以提取 `Request`。
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. docs/id/docs/tutorial/index.md

    ## Jalankan kode
    
    Semua blok-blok kode dapat disalin dan digunakan langsung (Mereka semua sebenarnya adalah file python yang sudah teruji).
    
    Untuk menjalankan setiap contoh, salin kode ke file `main.py`, dan jalankan `uvicorn` dengan:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. docs/zh/docs/deployment/docker.md

    ```
    
    </div>
    
    /// info
    
    还有其他文件格式和工具来定义和安装依赖项。
    
     我将在下面的部分中向你展示一个使用 Poetry 的示例。 👇
    
    ///
    
    ### 创建 **FastAPI** 代码
    
    * 创建`app`目录并进入。
    * 创建一个空文件`__init__.py`。
    * 创建一个 `main.py` 文件:
    
    
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top