Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for contenu (0.32 sec)

  1. fastapi/dependencies/utils.py

                continue
            if add_non_field_param_to_dependency(
                param_name=param_name,
                type_annotation=type_annotation,
                dependant=dependant,
            ):
                assert (
                    param_field is None
                ), f"Cannot specify multiple FastAPI annotations for {param_name!r}"
                continue
            assert param_field is not None
    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/openapi/utils.py

        request_media_content: Dict[str, Any] = {"schema": body_schema}
        if field_info.openapi_examples:
            request_media_content["examples"] = jsonable_encoder(
                field_info.openapi_examples
            )
        elif field_info.example != Undefined:
            request_media_content["example"] = jsonable_encoder(field_info.example)
        request_body_oai["content"] = {request_media_type: request_media_content}
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
Back to top