Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mixins (0.03 sec)

  1. fastapi/_compat/v2.py

        return get_model_fields(model)  # type: ignore[return-value]
    
    
    # Duplicate of several schema functions from Pydantic v1 to make them compatible with
    # Pydantic v2 and allow mixing the models
    
    TypeModelOrEnum = Union[type["BaseModel"], type[Enum]]
    TypeModelSet = set[TypeModelOrEnum]
    
    
    def normalize_name(name: str) -> str:
        return re.sub(r"[^a-zA-Z0-9.\-_]", "_", name)
    
    
    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