<s> from stream_framework . activity import DehydratedActivity <EOL> from stream_framework . serializers . base import BaseSerializer <EOL> class SimpleTimelineSerializer ( BaseSerializer ) : <EOL> def loads ( self , serialized_activity , * args , ** kwargs ) : <EOL> return DehydratedActivity ( serialization_id = serialized_activity ) <EOL> def dumps ( self , activity , * args , ** kwargs ) : <EOL> '''<STR_LIT>''' <EOL> return activity . serialization_id </s>
