Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for infinity (0.04 seconds)

  1. tests/test_jsonable_encoder.py

        data = {"value": Decimal("NaN")}
        assert isnan(jsonable_encoder(data)["value"])
    
    
    def test_decimal_encoder_infinity():
        data = {"value": Decimal("Infinity")}
        assert isinf(jsonable_encoder(data)["value"])
        data = {"value": Decimal("-Infinity")}
        assert isinf(jsonable_encoder(data)["value"])
    
    
    def test_encode_deque_encodes_child_models():
        class Model(BaseModel):
            test: str
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. docs/de/llm-prompt.md

            Andere ...
            Später mehr ...
            »»»
    
    2) This does not apply in URLs, code blocks, and code snippets. Do not remove or add spaces there.
    
    
    ### Headings
    
    1) Translate headings using the infinite form.
    
    Examples:
    
        Source (English):
    
            «««
            ## Create a Project { #create-a-project }
            »»»
    
        Translate with (German):
    
            «««
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 09:39:53 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. docs/en/docs/release-notes.md

    * 🐛 Fix `TypeError` when encoding a decimal with a `NaN` or `Infinity` value. PR [#12935](https://github.com/fastapi/fastapi/pull/12935) by [@kentwelcome](https://github.com/kentwelcome).
    
    ### Internal
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
Back to Top