Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for uniqueItems (0.28 sec)

  1. tests/test_tutorial/test_path_operation_configurations/test_tutorial001.py

                                    "type": "string",
                                },
                                "title": "Tags",
                                "type": "array",
                                "uniqueItems": True,
                            },
                            "tax": {
                                "anyOf": [
                                    {
                                        "type": "number",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py

                                "anyOf": [{"type": "number"}, {"type": "null"}],
                            },
                            "tags": {
                                "title": "Tags",
                                "uniqueItems": True,
                                "type": "array",
                                "items": {"type": "string"},
                                "default": [],
                            },
                        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/extra-data-types.md

            * Bei Responses wird das `set` in eine `list` umgewandelt.
            * Das generierte Schema zeigt an, dass die `set`-Werte eindeutig sind (unter Verwendung von JSON Schemas `uniqueItems`).
    * `bytes`:
        * Standard-Python-`bytes`.
        * In Requests und Responses werden sie als `str` behandelt.
        * Das generierte Schema wird anzeigen, dass es sich um einen `str` mit `binary` „Format“ handelt.
    * `Decimal`:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py

    from ...utils import needs_py310
    
    UNTYPED_LIST_SCHEMA = {"type": "array", "items": {}}
    
    LIST_OF_STR_SCHEMA = {"type": "array", "items": {"type": "string"}}
    
    SET_OF_STR_SCHEMA = {"type": "array", "items": {"type": "string"}, "uniqueItems": True}
    
    
    @pytest.fixture(
        name="mod_name",
        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial001_py310", marks=needs_py310),
            pytest.param("tutorial002_py39"),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py

                                "anyOf": [{"type": "number"}, {"type": "null"}],
                            },
                            "tags": {
                                "title": "Tags",
                                "uniqueItems": True,
                                "type": "array",
                                "items": {"type": "string"},
                                "default": [],
                            },
                        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_path_operation_configurations/test_tutorial002.py

                                    "type": "string",
                                },
                                "title": "Tags",
                                "type": "array",
                                "uniqueItems": True,
                            },
                            "tax": {
                                "anyOf": [
                                    {
                                        "type": "number",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/extra-data-types.md

            * В ответах `set` будет преобразован в `list`.
            * В сгенерированной схеме будет указано, что значения `set` уникальны (с помощью JSON-схемы `uniqueItems`).
    * `bytes`:
        * Встроенный в Python `bytes`.
        * В запросах и ответах будет рассматриваться как `str`.
        * В сгенерированной схеме будет указано, что это `str` в формате `binary`.
    * `Decimal`:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/extra-data-types.md

            * Nas respostas, o `set` será convertido para uma `list`.
            * O esquema gerado vai especificar que os valores do `set` são unicos (usando o `uniqueItems` do JSON Schema).
    * `bytes`:
        * O `bytes` padrão do Python.
        * Em requisições e respostas será representado como uma `str`.
        * O esquema gerado vai especificar que é uma `str` com o "formato" `binary`.
    * `Decimal`:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/extra-data-types.md

            * У відповідях, `set` буде перетворений на `list`.
            * Згенерована схема буде вказувати, що значення `set` є унікальними (з використанням JSON Schema's `uniqueItems`).
    * `bytes`:
        * Стандартний Пайтонівський `bytes`.
        * У запитах і відповідях це буде оброблено як `str`.
        * Згенерована схема буде вказувати, що це `str` з "форматом" `binary`.
    * `Decimal`:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py

                                    "type": "string",
                                },
                                "title": "Tags",
                                "type": "array",
                                "uniqueItems": True,
                            },
                            "tax": {
                                "anyOf": [
                                    {
                                        "type": "number",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top