Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _should_embed_body_fields (0.11 sec)

  1. fastapi/dependencies/utils.py

            )
            if errors_:
                errors.extend(errors_)
            else:
                values[field.name] = v_
        return values, errors
    
    
    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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. fastapi/routing.py

        _normalize_errors,
        lenient_issubclass,
    )
    from fastapi.datastructures import Default, DefaultPlaceholder
    from fastapi.dependencies.models import Dependant
    from fastapi.dependencies.utils import (
        _should_embed_body_fields,
        get_body_field,
        get_dependant,
        get_flat_dependant,
        get_parameterless_sub_dependant,
        get_typed_return_annotation,
        solve_dependencies,
    )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
Back to top