Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Description

This module introduces us to the Pydantic library.

Instructions

To verify if the norm is correctly applied in the different files:

flake8

If 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>

Notions

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?

Resources

Notions: