Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UNIQUE (0.04 sec)

  1. tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py

        "tutorial004": dedent("""
            Create an item with all the information:
    
            - **name**: each item must have a name
            - **description**: a long description
            - **price**: required
            - **tax**: if the item doesn't have tax, you can omit this
            - **tags**: a set of unique tag strings for this item
        """).strip(),
    }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. fastapi/routing.py

                ),
            ] = True,
            generate_unique_id_function: Annotated[
                Callable[[APIRoute], str],
                Doc(
                    """
                    Customize the function used to generate unique IDs for the *path
                    operations* shown in the generated OpenAPI.
    
                    This is particularly useful when automatically generating clients or
                    SDKs for your API.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  3. scripts/docs.py

                        slug = slugify(visible_text_extractor.extract_visible_text(title))
                        if slug in permalinks:
                            # If the slug is already used, append a number to make it unique
                            count = 1
                            original_slug = slug
                            while slug in permalinks:
                                slug = f"{original_slug}_{count}"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  4. fastapi/_compat/v2.py

                exclude_unset=exclude_unset,
                exclude_defaults=exclude_defaults,
                exclude_none=exclude_none,
            )
    
        def __hash__(self) -> int:
            # Each ModelField is unique for our purposes, to allow making a dict from
            # ModelField to its JSON Schema.
            return id(self)
    
    
    def _has_computed_fields(field: ModelField) -> bool:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top