Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 96 for things (0.24 sec)

  1. docs/pt/docs/tutorial/path-params.md

    # Parâmetros da rota da URL
    
    Você pode declarar os "parâmetros" ou "variáveis" com a mesma sintaxe utilizada pelo formato de strings do Python:
    
    ```Python hl_lines="6-7"
    {!../../../docs_src/path_params/tutorial001.py!}
    ```
    
    O valor do parâmetro que foi passado à `item_id` será passado para a sua função como o argumento `item_id`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/openapi-callbacks.md

    In this case, you could want to document how that external API *should* look like. What *path operation* it should have, what body it should expect, what response it should return, etc.
    
    ## An app with callbacks
    
    Let's see all this with an example.
    
    Imagine you develop an app that allows creating invoices.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-operation-configuration.md

    In these cases, it could make sense to store the tags in an `Enum`.
    
    **FastAPI** supports that the same way as with plain strings:
    
    ```Python hl_lines="1  8-10  13  18"
    {!../../../docs_src/path_operation_configuration/tutorial002b.py!}
    ```
    
    ## Summary and description
    
    You can add a `summary` and `description`:
    
    === "Python 3.10+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ...the query parameters are:
    
    * `skip`: with a value of `0`
    * `limit`: with a value of `10`
    
    As they are part of the URL, they are "naturally" strings.
    
    But when you declare them with Python types (in the example above, as `int`), they are converted to that type and validated against it.
    
    All the same process that applied for path parameters also applies for query parameters:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:08:42 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  5. docs/en/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### Just Modern Python
    
    It's all based on standard **Python type** declarations (thanks to Pydantic). No new syntax to learn. Just standard modern Python.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/custom-response.md

    Sie können sie direkt zurückgeben.
    
    Sie akzeptiert die folgenden Parameter:
    
    * `content` – Ein `str` oder `bytes`.
    * `status_code` – Ein `int`-HTTP-Statuscode.
    * `headers` – Ein `dict` von Strings.
    * `media_type` – Ein `str`, der den Medientyp angibt. Z. B. `"text/html"`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 13:05:12 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. docs/pt/docs/index.md

    ---
    
    FastAPI é um moderno e rápido (alta performance) _framework web_ para construção de APIs com Python, baseado nos _type hints_ padrões do Python.
    
    Os recursos chave são:
    
    * **Rápido**: alta performance, equivalente a **NodeJS** e **Go** (graças ao Starlette e Pydantic). [Um dos frameworks mais rápidos disponíveis](#performance).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. docs/az/docs/index.md

    **Qaynaq Kodu**: <a href="https://github.com/tiangolo/fastapi" target="_blank">https://github.com/tiangolo/fastapi</a>
    
    ---
    
    FastAPI Python ilə API yaratmaq üçün standart Python <abbr title="Tip Məsləhətləri: Type Hints">tip məsləhətlərinə</abbr> əsaslanan, müasir, sürətli (yüksək performanslı) framework-dür.
    
    Əsas xüsusiyyətləri bunlardır:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. docs/vi/docs/index.md

    * Chuyển đổi tự động các JSON object đến và JSON object đi.
    * Tài liệu hóa mọi thứ với OpenAPI, tài liệu đó có thể được sử dụng bởi:
    
        * Các hệ thống tài liệu có thể tương tác.
        * Hệ thống sinh code tự động, cho nhiều ngôn ngữ lập trình.
    * Cung cấp trực tiếp 2 giao diện web cho tài liệu tương tác
    
    ---
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/simple-oauth2.md

        ```
    
    !!! tip
        By the spec, you should return a JSON with an `access_token` and a `token_type`, the same as in this example.
    
        This is something that you have to do yourself in your code, and make sure you use those JSON keys.
    
        It's almost the only thing that you have to remember to do correctly yourself, to be compliant with the specifications.
    
        For the rest, **FastAPI** handles it for you.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top