Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for track (0.34 sec)

  1. tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py

        [
            ("/items", None, 200, {"ads_id": None}),
            ("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}),
            (
                "/items",
                {"ads_id": "ads_track", "session": "cookiesession"},
                200,
                {"ads_id": "ads_track"},
            ),
            ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}),
        ],
    )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_cookie_params/test_tutorial001.py

        [
            ("/items", None, 200, {"ads_id": None}),
            ("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}),
            (
                "/items",
                {"ads_id": "ads_track", "session": "cookiesession"},
                200,
                {"ads_id": "ads_track"},
            ),
            ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}),
        ],
    )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_cookie_params/test_tutorial001_an_py310.py

        [
            ("/items", None, 200, {"ads_id": None}),
            ("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}),
            (
                "/items",
                {"ads_id": "ads_track", "session": "cookiesession"},
                200,
                {"ads_id": "ads_track"},
            ),
            ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}),
        ],
    )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py

        [
            ("/items", None, 200, {"ads_id": None}),
            ("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}),
            (
                "/items",
                {"ads_id": "ads_track", "session": "cookiesession"},
                200,
                {"ads_id": "ads_track"},
            ),
            ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}),
        ],
    )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_cookie_params/test_tutorial001_an.py

        [
            ("/items", None, 200, {"ads_id": None}),
            ("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}),
            (
                "/items",
                {"ads_id": "ads_track", "session": "cookiesession"},
                200,
                {"ads_id": "ads_track"},
            ),
            ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}),
        ],
    )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. docs/de/docs/reference/fastapi.md

                - websocket
                - include_router
                - get
                - put
                - post
                - delete
                - options
                - head
                - patch
                - trace
                - on_event
                - middleware
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 18 12:19:32 GMT 2024
    - 715 bytes
    - Viewed (0)
  7. docs/en/docs/advanced/dataclasses.md

    !!! info
        Keep in mind that dataclasses can't do everything Pydantic models can do.
    
        So, you might still need to use Pydantic models.
    
        But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. ๐Ÿค“
    
    ## Dataclasses in `response_model`
    
    You can also use `dataclasses` in the `response_model` parameter:
    
    ```Python hl_lines="1  7-13  19"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/first-steps.md

    #### ๐Ÿ› ๏ธ
    
    "๐Ÿ› ๏ธ" ๐Ÿ“ฅ ๐Ÿ”— 1๏ธโƒฃ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” "๐Ÿ‘ฉโ€๐Ÿ”ฌ".
    
    1๏ธโƒฃ:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...& ๐ŸŒ… ๐Ÿ˜ ๐Ÿ•:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ› ๏ธ, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ”— ๐Ÿ”  โžก โš™๏ธ 1๏ธโƒฃ (โš–๏ธ ๐ŸŒ…) ๐Ÿ‘ซ "๐Ÿ‘ฉโ€๐Ÿ”ฌ".
    
    ---
    
    ๐Ÿ•โ” ๐Ÿ— ๐Ÿ”—, ๐Ÿ‘† ๐Ÿ›Ž โš™๏ธ ๐Ÿ‘ซ ๐ŸŽฏ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ‘ฉโ€๐Ÿ”ฌ ๐ŸŽญ ๐ŸŽฏ ๐ŸŽฏ.
    
    ๐Ÿ›Ž ๐Ÿ‘† โš™๏ธ:
    
    * `POST`: โœ ๐Ÿ’ฝ.
    * `GET`: โœ ๐Ÿ’ฝ.
    * `PUT`: โ„น ๐Ÿ’ฝ.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. tests/test_operations_signatures.py

    import inspect
    
    from fastapi import APIRouter, FastAPI
    
    method_names = ["get", "put", "post", "delete", "options", "head", "patch", "trace"]
    
    
    def test_signatures_consistency():
        base_sig = inspect.signature(APIRouter.get)
        for method_name in method_names:
            router_method = getattr(APIRouter, method_name)
            app_method = getattr(FastAPI, method_name)
            router_sig = inspect.signature(router_method)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon May 27 12:08:13 GMT 2019
    - 934 bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/first-steps.md

    #### ๆ“ไฝœ
    
    ่ฟ™้‡Œ็š„ใ€Œๆ“ไฝœใ€ๆŒ‡็š„ๆ˜ฏไธ€็ง HTTPใ€Œๆ–นๆณ•ใ€ใ€‚
    
    ไธ‹ๅˆ—ไน‹ไธ€๏ผš
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...ไปฅๅŠๆ›ดๅฐ‘่ง็š„ๅ‡ ็ง๏ผš
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    ๅœจ HTTP ๅ่ฎฎไธญ๏ผŒไฝ ๅฏไปฅไฝฟ็”จไปฅไธŠ็š„ๅ…ถไธญไธ€็ง๏ผˆๆˆ–ๅคš็ง๏ผ‰ใ€Œๆ–นๆณ•ใ€ไธŽๆฏไธช่ทฏๅพ„่ฟ›่กŒ้€šไฟกใ€‚
    
    ---
    
    ๅœจๅผ€ๅ‘ API ๆ—ถ๏ผŒไฝ ้€šๅธธไฝฟ็”จ็‰นๅฎš็š„ HTTP ๆ–นๆณ•ๅŽปๆ‰ง่กŒ็‰นๅฎš็š„่กŒไธบใ€‚
    
    ้€šๅธธไฝฟ็”จ๏ผš
    
    * `POST`๏ผšๅˆ›ๅปบๆ•ฐๆฎใ€‚
    * `GET`๏ผš่ฏปๅ–ๆ•ฐๆฎใ€‚
    * `PUT`๏ผšๆ›ดๆ–ฐๆ•ฐๆฎใ€‚
    * `DELETE`๏ผšๅˆ ้™คๆ•ฐๆฎใ€‚
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.2K bytes
    - Viewed (0)
Back to top