Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 653 for consume (0.08 sec)

  1. docs/de/docs/tutorial/testing.md

    Danach müssen Sie nur noch `pytest` installieren:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    Es erkennt die Dateien und Tests automatisch, führt sie aus und berichtet Ihnen die Ergebnisse.
    
    Führen Sie die Tests aus, mit:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. docs/zh-hant/docs/tutorial/index.md

    它也被設計成可作為未來的參考,讓你隨時回來查看所需的內容。
    
    ## 運行程式碼
    
    所有程式碼區塊都可以直接複製和使用(它們實際上是經過測試的 Python 檔案)。
    
    要運行任何範例,請將程式碼複製到 `main.py` 檔案,並使用以下命令啟動 `fastapi dev`:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:28:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/testing.md

    Далее Вам нужно установить `pytest`:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    Он автоматически найдёт все файлы и тесты, выполнит их и предоставит Вам отчёт о результатах тестирования.
    
    Запустите тесты командой `pytest` и увидите результат:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. docs/pt/docs/deployment/server-workers.md

    ///
    
    ## Vários trabalhadores
    
    Você pode iniciar vários trabalhadores com a opção de linha de comando `--workers`:
    
    //// tab | `fastapi`
    
    Se você usar o comando `fastapi`:
    
    <div class="termy">
    
    ```console
    $ <pre> <font color="#4E9A06">fastapi</font> run --workers 4 <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:01:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. cmd/server-main.go

    		})
    
    		// Initialize Console UI
    		if globalBrowserEnabled {
    			bootstrapTrace("initConsoleServer", func() {
    				srv, err := initConsoleServer()
    				if err != nil {
    					logger.FatalIf(err, "Unable to initialize console service")
    				}
    
    				setConsoleSrv(srv)
    
    				go func() {
    					logger.FatalIf(newConsoleServerFn().Serve(), "Unable to initialize console server")
    				}()
    			})
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  6. docs/zh/docs/tutorial/security/oauth2-jwt.md

    如需深入了解 JWT 令牌,了解它的工作方式,请参阅 <a href="https://jwt.io/" class="external-link" target="_blank">https://jwt.io</a>。
    
    ## 安装 `PyJWT`
    
    安装 `PyJWT`,在 Python 中生成和校验 JWT 令牌:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    ---> 100%
    ```
    
    </div>
    
    /// info | "说明"
    
    如果您打算使用类似 RSA 或 ECDSA 的数字签名算法,您应该安装加密库依赖项 `pyjwt[crypto]`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. docs/ko/docs/deployment/server-workers.md

    ## 구니콘과 유비콘 설치하기
    
    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]" gunicorn
    
    ---> 100%
    ```
    
    </div>
    
    이 명령어는 유비콘 `standard` 추가 패키지(좋은 성능을 위한)와 구니콘을 설치할 것입니다.
    
    ## 구니콘을 유비콘 워커와 함께 실행하기
    
    설치 후 구니콘 실행하기:
    
    <div class="termy">
    
    ```console
    $ gunicorn main:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:80
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/sub-applications.md

    ```
    
    ### Es in der automatischen API-Dokumentation betrachten
    
    Führen Sie nun `uvicorn` mit der Hauptanwendung aus. Wenn Ihre Datei `main.py` lautet, wäre das:
    
    <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>
    
    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/pt/docs/how-to/conditional-openapi.md

    Então você pode desabilitar o OpenAPI (incluindo os documentos da interface do usuário) definindo a variável de ambiente `OPENAPI_URL` como uma string vazia, como:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/sub-applications.md

    ```Python hl_lines="11  19"
    {!../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    ### Check the automatic API docs
    
    Now, run the `fastapi` command with your file:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top