'Decode OffsetCommitResponse to an OffsetCommitResponsePayload
Arguments:
response: OffsetCommitResponse'

@classmethod
def decode_offset_commit_response(cls, response):

    return [kafka.structs.OffsetCommitResponsePayload(topic, partition, error) for (topic, partitions) in response.topics for (partition, error) in partitions]
