Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Zwarts (0.24 sec)

  1. fastapi/utils.py

                annotation=type_, default=default, alias=alias
            )
        else:
            field_info = field_info or FieldInfo()
        kwargs = {"name": name, "field_info": field_info}
        if PYDANTIC_V2:
            kwargs.update({"mode": mode})
        else:
            kwargs.update(
                {
                    "type_": type_,
                    "class_validators": class_validators,
                    "default": default,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. fastapi/dependencies/utils.py

        )
        required = any(True for f in flat_dependant.body_params if f.required)
        BodyFieldInfo_kwargs: Dict[str, Any] = {
            "annotation": BodyModel,
            "alias": "body",
        }
        if not required:
            BodyFieldInfo_kwargs["default"] = None
        if any(isinstance(f.field_info, params.File) for f in flat_dependant.body_params):
    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)
Back to top