How to fix Extra inputs are not permitted [type=extra_forbidden] in Python | DevErrors