Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sintaxe (0.04 sec)

  1. tests/test_compat.py

        assert isinstance(result, list)
    
    
    @needs_py310
    def test_serialize_sequence_value_with_optional_list_pipe_union():
        """Test that serialize_sequence_value handles optional lists correctly (with new syntax)."""
        from fastapi._compat import v2
    
        field_info = FieldInfo(annotation=list[str] | None)
        field = v2.ModelField(name="items", field_info=field_info)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    ### Refactors
    
    * ♻️ Upgrade internal syntax to Python 3.9+ 🎉. PR [#14564](https://github.com/fastapi/fastapi/pull/14564) by [@tiangolo](https://github.com/tiangolo).
    
    ### Docs
    
    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