Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for guid (0.15 sec)

  1. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 755 bytes
    - Viewed (0)
  2. 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)
  3. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. docs/hu/docs/index.md

        * válts át Python típusokat (`str`, `int`, `float`, `bool`, `list`, etc).
        * `datetime` csak objektumokat.
        * `UUID` objektumokat.
        * Adatbázis modelleket.
        * ...És sok mást.
    * Automatikus interaktív dokumentáció, beleértve két alternatív dokumentációt is:
        * Swagger UI.
        * ReDoc.
    
    ---
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/oauth2-jwt.md

    Then you can give this token to a user directly or a third party, to interact with your API with a set of restrictions.
    
    You can learn how to use them and how they are integrated into **FastAPI** later in the **Advanced User Guide**.
    
    ## Recap
    
    With what you have seen up to now, you can set up a secure **FastAPI** application using standards like OAuth2 and JWT.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  6. docs/en/docs/python-types.md

    **FastAPI** is all based on Pydantic.
    
    You will see a lot more of all this in practice in the [Tutorial - User Guide](tutorial/index.md){.internal-link target=_blank}.
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. docs/de/docs/features.md

        * Strings (`str`) mit definierter minimaler und maximaler Länge.
        * Zahlen (`int`, `float`) mit Mindest- und Maximal-Werten, usw.
    
    * Validierung für mehr exotische Typen, wie:
        * URL.
        * E-Mail.
        * UUID.
        * ... und andere.
    
    Die gesamte Validierung übernimmt das gut etablierte und robuste **Pydantic**.
    
    ### Sicherheit und Authentifizierung
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  8. docs/ja/docs/features.md

         * JSONオブジェクト(`dict`)
         * 項目の型を定義するJSON配列(`list`)
         * 最小長と最大長のある文字列(`str`)フィールド
         * 最小値と最大値のある数値(`int`、` float`)
    
    * よりエキゾチックな型の検証:
         * URL
         * Eメール
         * UUID
         * ...その他
    
    すべての検証は、確立された堅牢な **Pydantic** によって処理されます。
    
    ### セキュリティと認証
    
    セキュリティと認証が統合されています。 データベースまたはデータモデルについても妥協していません。
    
    以下のOpenAPIで定義されているすべてのセキュリティスキームを含む:
    
    * HTTPベーシック
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

    * Add translation to Portuguese for [Tutorial - User Guide - Intro - Tutorial - Guia de Usuário - Introdução](https://fastapi.tiangolo.com/pt/tutorial/). PR [#1259](https://github.com/tiangolo/fastapi/pull/1259) by [@marcosmmb](https://github.com/marcosmmb).
    * Allow using Unicode in MkDocs for translations. PR [#1419](https://github.com/tiangolo/fastapi/pull/1419).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  10. docs/es/docs/index.md

        * Convertir tipos de Python (`str`, `int`, `float`, `bool`, `list`, etc).
        * Objetos `datetime`.
        * Objetos `UUID`.
        * Modelos de bases de datos.
        * ...y muchos más.
    * Documentación automática e interactiva incluyendo 2 interfaces de usuario alternativas:
        * Swagger UI.
        * ReDoc.
    
    ---
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19K bytes
    - Viewed (0)
Back to top