Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 420 for Div (0.02 sec)

  1. docs/zh/docs/tutorial/first-steps.md

    ```
    
    这里的变量 `app` 会是 `FastAPI` 类的一个「实例」。
    
    这个实例将是创建你所有 API 的主要交互对象。
    
    这个 `app` 同样在如下命令中被 `uvicorn` 所引用:
    
    <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)
    ```
    
    </div>
    
    如果你像下面这样创建应用:
    
    ```Python hl_lines="3"
    {!../../docs_src/first_steps/tutorial002.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-param-models.md

    ## Check the Docs
    
    You can see the query parameters in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## Forbid Extra Query Parameters
    
    In some special use cases (probably not very common), you might want to **restrict** the query parameters that you want to receive.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/sub-applications.md

    {!../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    ### 查看文档
    
    如果主文件是 `main.py`,则用以下 `uvicorn` 命令运行主应用:
    
    <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)
    ```
    
    </div>
    
    查看文档 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs。</a>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/testing.md

    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    Ele detectará os arquivos e os testes automaticamente, os executará e informará os resultados para você.
    
    Execute os testes com:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NetworkExplorer.java

                        out.print(name);
                        out.print("</b></a><div align='right'>");
                        out.print( ( f.length() / 1024 ) + " KB </div><div>");
                        i = name.lastIndexOf('.') + 1;
                        if ( i > 1 && ( name.length() - i ) < 6 ) {
                            out.print(name.substring(i).toUpperCase() + "</div class='ext'>");
                        }
                        else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/templates.md

    ## Abhängigkeiten installieren
    
    Installieren Sie `jinja2`:
    
    <div class="termy">
    
    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    ## Verwendung von `Jinja2Templates`
    
    * Importieren Sie `Jinja2Templates`.
    * Erstellen Sie ein `templates`-Objekt, das Sie später wiederverwenden können.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/async-tests.md

    ```
    
    📁 `test_main.py` 🔜 ✔️ 💯 `main.py`, ⚫️ 💪 👀 💖 👉 🔜:
    
    ```Python
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    ## 🏃 ⚫️
    
    👆 💪 🏃 👆 💯 🐌 📨:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ---> 100%
    ```
    
    </div>
    
    ## ℹ
    
    📑 `@pytest.mark.anyio` 💬 ✳ 👈 👉 💯 🔢 🔜 🤙 🔁:
    
    ```Python hl_lines="7"
    {!../../docs_src/async_tests/test_main.py!}
    ```
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/templates.md

    ## Instalação de dependências
    
    Para instalar o `jinja2`, siga o código abaixo:
    
    <div class="termy">
    
    ```console
    $ pip install jinja2
    ```
    
    </div>
    
    ## Usando `Jinja2Templates`
    
    * Importe `Jinja2Templates`.
    * Crie um `templates` que você possa reutilizar posteriormente.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/sub-applications.md

    {!../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    ### ✅ 🏧 🛠️ 🩺
    
    🔜, 🏃 `uvicorn` ⏮️ 👑 📱, 🚥 👆 📁 `main.py`, ⚫️ 🔜:
    
    <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)
    ```
    
    </div>
    
    &amp; 📂 🩺 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/index.md

    ```
    
    </div>
    
    强烈建议你在本地编写或复制代码,对其进行编辑并运行。
    
    在编辑器中使用 FastAPI 会真正地展现出它的优势:只需要编写很少的代码,所有的类型检查,代码补全等等。
    
    ---
    
    ## 安装 FastAPI
    
    第一个步骤是安装 FastAPI。
    
    为了使用本教程,你可能需要安装所有的可选依赖及对应功能:
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    ......以上安装还包括了 `uvicorn`,你可以将其用作运行代码的服务器。
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top