Created by: Haichao-Zhang
This PR added an input type checking wrapper for python data provider.
The python data provider requires input_types as dict type when the yield data is dict type, otherwise there will be an error. The added input type checking wrapper will generate more informative error message when the yielded data is dict type but the input_types is not.