Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for evaluator (0.18 sec)

  1. fastapi/dependencies/utils.py

        if len(body_param_names_set) == 1 and not embed:
            check_file_field(first_param)
            return first_param
        # If one field requires to embed, all have to be embedded
        # in case a sub-dependency is evaluated with a single unique body field
        # That is combined (embedded) with other body fields
        for param in flat_dependant.body_params:
            setattr(param.field_info, "embed", True)  # noqa: B010
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  2. fastapi/_compat.py

            get_annotation_from_field_info as get_annotation_from_field_info,
        )
        from pydantic.typing import (  # type: ignore[no-redef]
            evaluate_forwardref as evaluate_forwardref,  # noqa: F401
        )
        from pydantic.utils import (  # type: ignore[no-redef]
            lenient_issubclass as lenient_issubclass,  # noqa: F401
        )
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top