@classmethod<EOL><INDENT>def _sequence_map(cls, seq, path):<DEDENT>
if not any(path):<EOL><INDENT>return seq<EOL><DEDENT>result = []<EOL>for item in seq:<EOL><INDENT>try:<EOL><INDENT>result.append(cls.__resolve_path(item, path))<EOL><DEDENT>except (KeyError, IndexError):<EOL><INDENT>pass<EOL><DEDENT><DEDENT>return result<EOL>
Apply a kwargsql expression to every item of a sequence,
        and returns it.

        :param seq: the list to transform
        :param path: kwargsql expression to apply to every elements of
                     the given sequence.