Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hate (0.02 sec)

  1. fastapi/encoders.py

    from pydantic_core import PydanticUndefinedType
    
    from ._compat import (
        Url,
        is_pydantic_v1_model_instance,
    )
    
    
    # Taken from Pydantic v1 as is
    def isoformat(o: Union[datetime.date, datetime.time]) -> str:
        return o.isoformat()
    
    
    # Adapted from Pydantic v1
    # TODO: pv2 should this return strings instead?
    def decimal_encoder(dec_value: Decimal) -> Union[int, float]:
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_extra_data_types/test_tutorial001.py

                                    "type": "string",
                                    "format": "date-time",
                                },
                                "end_datetime": {
                                    "title": "End Datetime",
                                    "type": "string",
                                    "format": "date-time",
                                },
                                "repeat_at": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. tests/test_annotated.py

                "input": None,
            }
        ]
    }
    foo_is_short = {
        "detail": [
            {
                "ctx": {"min_length": 1},
                "loc": ["query", "foo"],
                "msg": "String should have at least 1 character",
                "type": "string_too_short",
                "input": "",
            }
        ]
    }
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    This change also meant that if you returned a `StreamingResponse`, the exit code of the dependency with `yield` would have been already run.
    
    For example, if you had a database session in a dependency with `yield`, the `StreamingResponse` would not be able to use that session while streaming data because the session would have already been closed in the exit code after `yield`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top