[fix] fix python build break
root cause: build break cause by code generator can't identify void declaration
solution: remove void declaration