fix: python validation