Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for guid (0.14 sec)

  1. docs/pt/docs/tutorial/index.md

        E o mesmo para cada dependência opcional que você quiser usar.
    
    ## Guia Avançado de Usuário
    
    Há também um **Guia Avançado de Usuário** que você pode ler após esse **Tutorial - Guia de Usuário**.
    
    O **Guia Avançado de Usuário** constrói sobre esse, usa os mesmos conceitos e te ensina alguns recursos extras.
    
    Mas você deveria ler primeiro o **Tutorial - Guia de Usuário** (que você está lendo agora).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/security/index.md

    !!! tip
        The next sections are **not necessarily "advanced"**.
    
        And it's possible that for your use case, the solution is in one of them.
    
    ## Read the Tutorial first
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 633 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_extra_data_types/test_tutorial001.py

                                "required": True,
                                "schema": {
                                    "title": "Item Id",
                                    "type": "string",
                                    "format": "uuid",
                                },
                                "name": "item_id",
                                "in": "path",
                            }
                        ],
                        "requestBody": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. docs_src/extra_data_types/tutorial001.py

    from datetime import datetime, time, timedelta
    from typing import Union
    from uuid import UUID
    
    from fastapi import Body, FastAPI
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: datetime = Body(),
        end_datetime: datetime = Body(),
        process_after: timedelta = Body(),
        repeat_at: Union[time, None] = Body(default=None),
    ):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 755 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py310.py

                                "required": True,
                                "schema": {
                                    "title": "Item Id",
                                    "type": "string",
                                    "format": "uuid",
                                },
                                "name": "item_id",
                                "in": "path",
                            }
                        ],
                        "requestBody": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/extra-data-types.md

    しかし、より複雑なデータ型を使用することもできます。
    
    そして、今まで見てきたのと同じ機能を持つことになります:
    
    * 素晴らしいエディタのサポート
    * 受信したリクエストからのデータ変換
    * レスポンスデータのデータ変換
    * データの検証
    * 自動注釈と文書化
    
    ## 他のデータ型
    
    ここでは、使用できる追加のデータ型のいくつかを紹介します:
    
    * `UUID`:
        * 多くのデータベースやシステムで共通のIDとして使用される、標準的な「ユニバーサルにユニークな識別子」です。
        * リクエストとレスポンスでは`str`として表現されます。
    * `datetime.datetime`:
        * Pythonの`datetime.datetime`です。
        * リクエストとレスポンスはISO 8601形式の`str`で表現されます: `2008-09-15T15:53:00+05:00`
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs_src/extra_data_types/tutorial001_an_py39.py

    from datetime import datetime, time, timedelta
    from typing import Annotated, Union
    from uuid import UUID
    
    from fastapi import Body, FastAPI
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: Annotated[datetime, Body()],
        end_datetime: Annotated[datetime, Body()],
        process_after: Annotated[timedelta, Body()],
        repeat_at: Annotated[Union[time, None], Body()] = None,
    ):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 801 bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/extra-data-types.md

    * Conversão de dados para os dados da resposta.
    * Validação de dados.
    * Anotação e documentação automáticas.
    
    ## Outros tipos de dados
    
    Aqui estão alguns dos tipos de dados adicionais que você pode usar:
    
    * `UUID`:
        * Um "Identificador Universalmente Único" padrão, comumente usado como ID em muitos bancos de dados e sistemas.
        * Em requisições e respostas será representado como uma `str`.
    * `datetime.datetime`:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. docs/en/mkdocs.yml

              show_symbol_type_heading: true
              show_symbol_type_toc: true
    nav:
    - FastAPI: index.md
    - features.md
    - Learn:
      - learn/index.md
      - python-types.md
      - async.md
      - Tutorial - User Guide:
        - tutorial/index.md
        - tutorial/first-steps.md
        - tutorial/path-params.md
        - tutorial/query-params.md
        - tutorial/body.md
        - tutorial/query-params-str-validations.md
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/extra-data-types.md

    * Валидация данных.
    * Автоматическая аннотация и документация.
    
    ## Другие типы данных
    
    Ниже перечислены некоторые из дополнительных типов данных, которые вы можете использовать:
    
    * `UUID`:
        * Стандартный "Универсальный уникальный идентификатор", используемый в качестве идентификатора во многих базах данных и системах.
        * В запросах и ответах будет представлен как `str`.
    * `datetime.datetime`:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top