Browse Source
Updated test_serialize_sequence_value_with_none_first_in_union to use Union[None, list[str]] instead of list[str] | None to ensure None appears first in union args, which properly tests the continue statement at line 316 in fastapi/_compat/v2.py. Co-authored-by: tiangolo <[email protected]>pull/14933/head
1 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue