This pull request addresses an issue found in the main.py file located at /course4/week2-ungraded-labs/C4_W2_Lab_1_FastAPI_Docker/with-batch/app.
The problem was due to applying the conlist type function from Pydantic with the wrong naming of two keyword arguments. The two keyword arguments were incorrectly named min_items and max_items but the correct names are respectively min_length and max_length.
This pull request addresses an issue found in the
main.py
file located at/course4/week2-ungraded-labs/C4_W2_Lab_1_FastAPI_Docker/with-batch/app
.The problem was due to applying the
conlist
type function from Pydantic with the wrong naming of two keyword arguments. The two keyword arguments were incorrectly namedmin_items
andmax_items
but the correct names are respectivelymin_length
andmax_length
.