This module introduces us to the Pydantic library.
To verify if the norm is correctly applied in the different files:
flake8If there is an issue, the command will send back said issue. Otherwise, nothing will be sent back in the terminal.
To execute the program, once in the corresponding file, use:
python3 <name of the program>How does Pydantic’s automatic type conversion work?
What happens when you pass a string timestamp to a datetime field?
How does Pydantic handle validation of nested models?
What happens when a CrewMember fails validation within a SpaceMission?