- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_serialize_sequence_value_with_optional_list (0.14 sec)
-
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(Union[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=Union[list[str], None])
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 4.2K bytes - Viewed (0)