def _apply_filter(self, filters, candidates):
if filters:<EOL><INDENT>filter_input = candidates<EOL>for fetch_vector_filter in filters:<EOL><INDENT>filter_input = fetch_vector_filter.filter_vectors(filter_input)<EOL><DEDENT>return filter_input<EOL><DEDENT>else:<EOL><INDENT>return candidates<EOL><DEDENT>
Apply vector filters if specified and return filtered list