Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _should_embed_body_fields (0.39 sec)

  1. fastapi/dependencies/utils.py

        union_args = get_args(field_type)
    
        for arg in union_args:
            if not lenient_issubclass(arg, BaseModel):
                return False
    
        return True
    
    
    def _should_embed_body_fields(fields: list[ModelField]) -> bool:
        if not fields:
            return False
        # More than one dependency could have the same field, it would show up as multiple
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
Back to top