Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for is_pv1_scalar_field (0.1 sec)

  1. fastapi/_compat.py

                if "description" in m_schema:
                    m_schema["description"] = m_schema["description"].split("\f")[0]
                definitions[model_name] = m_schema
            return definitions
    
        def is_pv1_scalar_field(field: ModelField) -> bool:
            from fastapi import params
    
            field_info = field.field_info
            if not (
                field.shape == SHAPE_SINGLETON  # type: ignore[attr-defined]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top