Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for convert_underscores (0.15 sec)

  1. fastapi/dependencies/utils.py

                # Handle fields extracted from a Pydantic Model for a header, each field
                # doesn't have a FieldInfo of type Header with the default convert_underscores=True
                convert_underscores = getattr(field.field_info, "convert_underscores", True)
                if convert_underscores:
                    alias = (
                        field.alias
                        if field.alias != field.name
    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/params.py

            include_in_schema: bool = True,
            json_schema_extra: Union[Dict[str, Any], None] = None,
            **extra: Any,
        ):
            self.convert_underscores = convert_underscores
            super().__init__(
                default=default,
                default_factory=default_factory,
                annotation=annotation,
                alias=alias,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top