結果 : python type none is not assignable to declared type