yams #10146733 introduce types [open]

use pytype and mypy to prevent bugs and help using yams.

priorityimportant
typeenhancement
done in1.0.0
closed by<not specified>