Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 450 for patron (0.21 sec)

  1. docs/en/docs/tutorial/middleware.md

    {* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *}
    
    /// tip
    
    Here we use <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> instead of `time.time()` because it can be more precise for these use cases. 🤓
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. docs/ko/docs/advanced/templates.md

    * 나중에 재사용할 수 있는 `templates` 객체를 생성합니다.
    * 템플릿을 반환할 경로 작업에 `Request` 매개변수를 선언합니다.
    * 생성한 `templates`를 사용하여 `TemplateResponse`를 렌더링하고 반환합니다. 템플릿의 이름, 요청 객체 및 Jinja2 템플릿 내에서 사용될 키-값 쌍이 포함된 "컨텍스트" 딕셔너리도 전달합니다.
    
    
    ```Python hl_lines="4  11  15-18"
    {!../../docs_src/templates/tutorial001.py!}
    ```
    
    /// note | 참고
    
    FastAPI 0.108.0 이전과 Starlette 0.29.0에서는 `name`이 첫 번째 매개변수였습니다.
    
    또한 이전 버전에서는 `request` 객체가 Jinja2의 컨텍스트에서 키-값 쌍의 일부로 전달되었습니다.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 13:07:23 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/handling-errors.md

    ### Імпорт `HTTPException`
    
    {* ../../docs_src/handling_errors/tutorial001.py hl[1] *}
    
    ### Використання `HTTPException` у коді
    
    `HTTPException` — це звичайна помилка Python із додатковими даними, які стосуються API.
    
    Оскільки це помилка Python, Ви не `повертаєте` його, а `генеруєте` (генеруєте помилку).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:31:13 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  4. docs/en/docs/reference/templating.md

    Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/).
    
    You can import it directly from `fastapi.templating`:
    
    ```python
    from fastapi.templating import Jinja2Templates
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 365 bytes
    - Viewed (0)
  5. docs/en/docs/advanced/openapi-callbacks.md

    The actual callback code will depend heavily on your own API app.
    
    And it will probably vary a lot from one app to the next.
    
    It could be just one or two lines of code, like:
    
    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    httpx.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/openapi-callbacks.md

    O código real do callback dependerá muito do seu próprio aplicativo de API.
    
    E provavelmente variará muito de um aplicativo para o outro.
    
    Poderia ser apenas uma ou duas linhas de código, como:
    
    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    httpx.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. docs/tr/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    /// note | Not
    
    `uvicorn main:app` komutunu şu şekilde açıklayabiliriz:
    
    * `main`: dosya olan `main.py` (yani Python "modülü").
    * `app`: ise `main.py` dosyasının içerisinde `app = FastAPI()` satırında oluşturduğumuz `FastAPI` nesnesi.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. docs/en/docs/reference/uploadfile.md

    # `UploadFile` class
    
    You can define *path operation function* parameters to be of the type `UploadFile` to receive files from the request.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import UploadFile
    ```
    
    ::: fastapi.UploadFile
        options:
            members:
                - file
                - filename
                - size
                - headers
                - content_type
                - read
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 472 bytes
    - Viewed (0)
  9. docs/ru/docs/deployment/concepts.md

    ### Что такое программа
    
    Термином **программа** обычно описывают множество вещей:
    
    * **Код**, который вы написали, в нашем случае **Python-файлы**.
    * **Файл**, который может быть **исполнен** операционной системой, например `python`, `python.exe` или `uvicorn`.
    * Конкретная программа, **запущенная** операционной системой и использующая центральный процессор и память. В таком случае это также называется **процесс**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. .pre-commit-config.yaml

    # See https://pre-commit.com for more information
    # See https://pre-commit.com/hooks.html for more hooks
    default_language_version:
        python: python3.10
    repos:
    -   repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v6.0.0
        hooks:
        -   id: check-added-large-files
        -   id: check-toml
        -   id: check-yaml
            args:
            -   --unsafe
        -   id: end-of-file-fixer
        -   id: trailing-whitespace
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Aug 25 20:03:02 UTC 2025
    - 735 bytes
    - Viewed (1)
Back to top