def _convert_annotations(annotations):
pb_annotations = []<EOL>for value, ts in annotations.items():<EOL><INDENT>pb_annotations.append(zipkin_pb2.Annotation(<EOL>timestamp=int(ts * <NUM_LIT:1000> * <NUM_LIT:1000>),<EOL>value=value,<EOL>))<EOL><DEDENT>return pb_annotations<EOL>
Converts py_zipkin's annotations dict to protobuf.

    :param annotations: annotations dict.
    :type annotations: dict
    :return: corresponding protobuf's list of annotations.
    :rtype: list