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

Function test_is_bytes_sequence_annotation_union

tests/test_compat.py:91–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89
90
91def test_is_bytes_sequence_annotation_union():
92 # For coverage
93 # TODO: in theory this would allow declaring types that could be lists of bytes
94 # to be read from files and other types, but I'm not even sure it's a good idea
95 # to support it as a first class "feature"
96 assert is_bytes_sequence_annotation(list[str] | list[bytes])
97
98
99def test_is_uploadfile_sequence_annotation():

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…