Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_serialize_sequence_value_with_optional_list (0.33 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_compat.py

        # and other types, but I'm not even sure it's a good idea to support it as a first
        # class "feature"
        assert is_uploadfile_sequence_annotation(list[str] | list[UploadFile])
    
    
    def test_serialize_sequence_value_with_optional_list():
        """Test that serialize_sequence_value handles optional lists correctly."""
        from fastapi._compat import v2
    
        field_info = FieldInfo(annotation=list[str] | None)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
Back to Top