<s> from __future__ import absolute_import <EOL> from sentry . api . serializers import Serializer , register <EOL> from sentry . models import GroupHash <EOL> @ register ( GroupHash ) <EOL> class GroupHashSerializer ( Serializer ) : <EOL> def serialize ( self , obj , attrs , user ) : <EOL> return { <EOL> '<STR_LIT:id>' : obj . hash , <EOL> } </s>
