Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for Frozenset (0.1 sec)

  1. docs/ko/docs/tutorial/extra-data-types.md

        * Pydantic은 "ISO 8601 시차 인코딩"으로 표현하는 것 또한 허용합니다. <a href="https://docs.pydantic.dev/latest/concepts/serialization/#json_encoders" class="external-link" target="_blank">더 많은 정보는 이 문서에서 확인하십시오.</a>.
    * `frozenset`:
        * 요청과 응답에서 `set`와 동일하게 취급됩니다:
            * 요청 시, 리스트를 읽어 중복을 제거하고 `set`로 변환합니다.
            * 응답 시, `set`는 `list`로 변환됩니다.
            * 생성된 스키마는 (JSON 스키마의 `uniqueItems`를 이용해) `set`의 값이 고유함을 명시합니다.
    * `bytes`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/extra-data-types.md

        * リクエストとレスポンスでは合計秒数の`float`で表現されます。
        * Pydanticでは「ISO 8601 time diff encoding」として表現することも可能です。<a href="https://docs.pydantic.dev/latest/concepts/serialization/" class="external-link" target="_blank">詳細はドキュメントを参照してください</a>。
    * `frozenset`:
        * リクエストとレスポンスでは`set`と同じように扱われます:
            * リクエストでは、リストが読み込まれ、重複を排除して`set`に変換されます。
            * レスポンスでは`set`が`list`に変換されます。
            * 生成されたスキーマは`set`の値が一意であることを指定します(JSON Schemaの`uniqueItems`を使用します)。
    * `bytes`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. tests/test_query.py

                        "type": "type_error.integer",
                    }
                ]
            }
        )
    
    
    def test_query_frozenset_query_1_query_1_query_2():
        response = client.get("/query/frozenset/?query=1&query=1&query=2")
        assert response.status_code == 200
        assert response.json() == "1,2"
    
    
    def test_query_list():
        response = client.get("/query/list/?device_ids=1&device_ids=2")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. tests/test_application.py

                        "operationId": "get_enum_status_code_enum_status_code_get",
                    }
                },
                "/query/frozenset": {
                    "get": {
                        "summary": "Get Query Type Frozenset",
                        "operationId": "get_query_type_frozenset_query_frozenset_get",
                        "parameters": [
                            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    ## 0.81.0
    
    ### Features
    
    * ✨ Add ReDoc `<noscript>` warning when JS is disabled. PR [#5074](https://github.com/tiangolo/fastapi/pull/5074) by [@evroon](https://github.com/evroon).
    * ✨ Add support for `FrozenSet` in parameters (e.g. query). PR [#2938](https://github.com/tiangolo/fastapi/pull/2938) by [@juntatalor](https://github.com/juntatalor).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top