<s> import logging <EOL> from collections import namedtuple <EOL> logger = logging . getLogger ( "<STR_LIT>" ) <EOL> Event = namedtuple ( "<STR_LIT>" , [ '<STR_LIT:user>' , '<STR_LIT>' , '<STR_LIT:data>' ] ) <EOL> def unpack_events ( events ) : <EOL> return list ( e . data for e in events ) </s>
