MCPcopy Index your code
hub / github.com/fastapi/fastapi / test_is_uploadfile_sequence_annotation

Function test_is_uploadfile_sequence_annotation

tests/test_compat.py:99–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97
98
99def test_is_uploadfile_sequence_annotation():
100 # For coverage
101 # TODO: in theory this would allow declaring types that could be lists of UploadFile
102 # and other types, but I'm not even sure it's a good idea to support it as a first
103 # class "feature"
104 assert is_uploadfile_sequence_annotation(list[str] | list[UploadFile])
105
106
107def test_serialize_sequence_value_with_optional_list():

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…