Created by: kuke
Fix the bug in validation: "AssertionError: Cannot reset the data source of PyReader"