Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. fastapi/dependencies/utils.py

        """
        if not flat_dependant.body_params:
            return None
        first_param = flat_dependant.body_params[0]
        if not embed_body_fields:
            return first_param
        model_name = "Body_" + name
        BodyModel = create_body_model(
            fields=flat_dependant.body_params, model_name=model_name
        )
        required = any(True for f in flat_dependant.body_params if f.required)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top